#9F94DE

A color in the Violet family

#9f94de is a color in the Violet family: RGB(159, 148, 222), HSL(249°, 53%, 73%), CMYK(28%, 33%, 0%, 13%). Closest named color: cornflowerblue. Contrast is 2.7:1 on white and 7.76:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9f94de
RGBrgb(159 148 222)
RGB (legacy)rgb(159, 148, 222)
RGB %rgb(62% 58% 87%)
HSLhsl(249 53% 73%)
HSV / HSBhsv(249, 33%, 87%)
HWBhwb(249 58% 13%)
CMYKcmyk(28%, 33%, 0%, 13%)
CIELAB (D50)lab(64.46 16.44 -36.53)
LCHlch(64.46 40.06 294.22)
OKLaboklab(0.7045 0.037 -0.1006)
OKLCHoklch(0.7045 0.1072 290.18)
Decimal10458334

Properties

Color ToneViolet
Closest named colorcornflowerblue ΔE 7.6
Closest web-safe color#9999cc
Hue249°
Saturation (HSL / HSV)53% / 33%
Lightness (HSL)73%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)63% / 61%
Relative luminance (WCAG)0.3382
Red / Green / Blue159 / 148 / 222

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.70:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.76:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 52.4 / -49.5 · As background with white / black text: Lc -57.6 / 51.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #9f94de;
  --color-brand-oklch: oklch(70.45% 0.1072 290.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(159 148 222 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9f94de] text-[#9f94de] border-[#9f94de]">