#954AD2#954AD2

#954AD2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.203 H 306.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#954AD2
RGBrgb(149, 74, 210)
HSLhsl(273, 60%, 56%)
HSVhsv(273, 65%, 82%)
CMYKcmyk(29%, 64.8%, 0%, 17.6%)
CIE-LABlab(46.90, 55.43, -57.90)
CIE-LCHlch(46.90, 80.15, 313.75°)
OKLaboklab(56.64% 0.1204 -0.164)
OKLCHoklch(56.64% 0.203 306.3)
XYZxyz(26.4736, 15.9405, 62.6424)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954AD2 #87D24A
analogous
#514AD2 #954AD2 #D24ACB
triadic
#954AD2 #D2954A #4AD295
tetradic
#954AD2 #D2514A #87D24A #4ACBD2
square
#954AD2 #D2514A #87D24A #4ACBD2
split-complementary
#954AD2 #CBD24A #4AD251
monochromatic
#562081 #762CB2 #954AD2 #B27BDE #CEACEA

Accessibility & contrast

On white

5.01
#954AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#954AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954AD2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954AD2#FFFFFF#000000##FFFFFF
##954AD21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#2970CF
Tritanopia (blue-blind)
#8B6788
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #954ad2;
/* rgb */ color: rgb(149, 74, 210);
/* oklch */ color: oklch(56.6% 0.203 306.3);
Tailwind
colors: {
  custom: {
    50: '#b881e1',
    500: '#954ad2',
    950: '#000000',
  },
}
SCSS
$custom: #954ad2;
$custom-light: #b881e1;
$custom-dark: #000000;
JSON
{
  "hex": "#954ad2",
  "rgb": {
    "r": 149,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 273.088,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.20342,
    "h": 306.3
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#954AD2
secondary
#B9D8A0
accent
#E3448C
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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