#9D94DE

A color in the Violet family

#9d94de is a color in the Violet family: RGB(157, 148, 222), HSL(247°, 53%, 73%), CMYK(29%, 33%, 0%, 13%). Closest named color: cornflowerblue. Contrast is 2.72:1 on white and 7.72:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9d94de
RGBrgb(157 148 222)
RGB (legacy)rgb(157, 148, 222)
RGB %rgb(62% 58% 87%)
HSLhsl(247 53% 73%)
HSV / HSBhsv(247, 33%, 87%)
HWBhwb(247 58% 13%)
CMYKcmyk(29%, 33%, 0%, 13%)
CIELAB (D50)lab(64.29 15.81 -36.81)
LCHlch(64.29 40.06 293.24)
OKLaboklab(0.7029 0.0347 -0.1014)
OKLCHoklch(0.7029 0.1072 288.9)
Decimal10327262

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.72:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.72: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.6 / -49.2 · As background with white / black text: Lc -57.8 / 51.4

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