#9C94DE

A color in the Violet family

#9c94de is a color in the Violet family: RGB(156, 148, 222), HSL(246°, 53%, 73%), CMYK(30%, 33%, 0%, 13%). Closest named color: cornflowerblue. Contrast is 2.73:1 on white and 7.7:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9c94de
RGBrgb(156 148 222)
RGB (legacy)rgb(156, 148, 222)
RGB %rgb(61% 58% 87%)
HSLhsl(246 53% 73%)
HSV / HSBhsv(246, 33%, 87%)
HWBhwb(246 58% 13%)
CMYKcmyk(30%, 33%, 0%, 13%)
CIELAB (D50)lab(64.21 15.49 -36.95)
LCHlch(64.21 40.07 292.74)
OKLaboklab(0.7021 0.0336 -0.1018)
OKLCHoklch(0.7021 0.1072 288.26)
Decimal10261726

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.73:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.70: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.7 / -49.1 · As background with white / black text: Lc -57.9 / 51.3

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: #9c94de;
  --color-brand-oklch: oklch(70.21% 0.1072 288.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(156 148 222 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9c94de] text-[#9c94de] border-[#9c94de]">