#954DD2#954DD2

#954DD2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.199 H 305.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#954DD2
RGBrgb(149, 77, 210)
HSLhsl(272, 60%, 56%)
HSVhsv(272, 63%, 82%)
CMYKcmyk(29%, 63.3%, 0%, 17.6%)
CIE-LABlab(47.43, 53.96, -57.04)
CIE-LCHlch(47.43, 78.52, 313.41°)
OKLaboklab(57.02% 0.117 -0.1615)
OKLCHoklch(57.02% 0.199 305.9)
XYZxyz(26.6787, 16.3507, 62.7108)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954DD2 #8AD24D
analogous
#534DD2 #954DD2 #D24DCD
triadic
#954DD2 #D2954D #4DD295
tetradic
#954DD2 #D2534D #8AD24D #4DCDD2
square
#954DD2 #D2534D #8AD24D #4DCDD2
split-complementary
#954DD2 #CDD24D #4DD253
monochromatic
#562183 #762EB4 #954DD2 #B27EDE #CFAFEB

Accessibility & contrast

On white

4.92
#954DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#954DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954DD2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954DD2#FFFFFF#000000##FFFFFF
##954DD21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#8B6989
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954dd2;
/* rgb */ color: rgb(149, 77, 210);
/* oklch */ color: oklch(57.0% 0.199 305.9);
Tailwind
colors: {
  custom: {
    50: '#b883e0',
    500: '#954dd2',
    950: '#000000',
  },
}
SCSS
$custom: #954dd2;
$custom-light: #b883e0;
$custom-dark: #000000;
JSON
{
  "hex": "#954dd2",
  "rgb": {
    "r": 149,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 272.481,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.19937,
    "h": 305.9
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#954DD2
secondary
#BBD9A2
accent
#E3458D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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