#952AD0#952AD0

#952AD0 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.2% C 0.237 H 309.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#952AD0
RGBrgb(149, 42, 208)
HSLhsl(279, 66%, 49%)
HSVhsv(279, 80%, 82%)
CMYKcmyk(28.4%, 79.8%, 0%, 18.4%)
CIE-LABlab(42.15, 68.00, -64.43)
CIE-LCHlch(42.15, 93.67, 316.55°)
OKLaboklab(53.23% 0.151 -0.183)
OKLCHoklch(53.23% 0.237 309.5)
XYZxyz(24.6053, 12.6001, 60.7981)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952AD0 #65D02A
analogous
#422AD0 #952AD0 #D02AB8
triadic
#952AD0 #D0952A #2AD095
tetradic
#952AD0 #D0422A #65D02A #2AB8D0
square
#952AD0 #D0422A #65D02A #2AB8D0
split-complementary
#952AD0 #B8D02A #2AD042
monochromatic
#4C156A #71209D #952AD0 #AF5ADE #C78DE8

Accessibility & contrast

On white

5.97
#952AD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#952AD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952AD0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952AD0#FFFFFF#000000##FFFFFF
##952AD01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#8C557E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #952ad0;
/* rgb */ color: rgb(149, 42, 208);
/* oklch */ color: oklch(53.2% 0.237 309.5);
Tailwind
colors: {
  custom: {
    50: '#ba71df',
    500: '#952ad0',
    950: '#000000',
  },
}
SCSS
$custom: #952ad0;
$custom-light: #ba71df;
$custom-dark: #000000;
JSON
{
  "hex": "#952ad0",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 208
  },
  "hsl": {
    "h": 278.675,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.23724,
    "h": 309.5
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#952AD0
secondary
#A0D284
accent
#E93E7B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952AD0

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

Preview Lab → · Contrast checker → · Palette generator →

#952AD0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva