#954FD9#954FD9

#954FD9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.204 H 304.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#954FD9
RGBrgb(149, 79, 217)
HSLhsl(270, 64%, 58%)
HSVhsv(270, 64%, 85%)
CMYKcmyk(31.3%, 63.6%, 0%, 14.9%)
CIE-LABlab(48.25, 54.61, -59.72)
CIE-LCHlch(48.25, 80.92, 312.44°)
OKLaboklab(57.76% 0.1142 -0.1693)
OKLCHoklch(57.76% 0.204 304)
XYZxyz(27.7120, 16.9914, 67.4519)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954FD9 #93D94F
analogous
#504FD9 #954FD9 #D94FD8
triadic
#954FD9 #D9954F #4FD995
tetradic
#954FD9 #D9504F #93D94F #4FD8D9
square
#954FD9 #D9504F #93D94F #4FD8D9
split-complementary
#954FD9 #D8D94F #4FD950
monochromatic
#581F8F #762AC1 #954FD9 #B381E4 #D2B4EF

Accessibility & contrast

On white

4.77
#954FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#954FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954FD9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954FD9#FFFFFF#000000##FFFFFF
##954FD91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#2672D6
Tritanopia (blue-blind)
#886D8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #954fd9;
/* rgb */ color: rgb(149, 79, 217);
/* oklch */ color: oklch(57.8% 0.204 304.0);
Tailwind
colors: {
  custom: {
    50: '#b984e5',
    500: '#954fd9',
    950: '#000000',
  },
}
SCSS
$custom: #954fd9;
$custom-light: #b984e5;
$custom-dark: #000000;
JSON
{
  "hex": "#954fd9",
  "rgb": {
    "r": 149,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 270.435,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.20425,
    "h": 304
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#954FD9
secondary
#C1DDA6
accent
#E74093
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #954FD9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#954FD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva