#952DD0#952DD0

#952DD0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.5% C 0.235 H 309.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#952DD0
RGBrgb(149, 45, 208)
HSLhsl(278, 64%, 50%)
HSVhsv(278, 78%, 82%)
CMYKcmyk(28.4%, 78.4%, 0%, 18.4%)
CIE-LABlab(42.49, 67.02, -63.88)
CIE-LCHlch(42.49, 92.58, 316.38°)
OKLaboklab(53.46% 0.1487 -0.1814)
OKLCHoklch(53.46% 0.235 309.4)
XYZxyz(24.7157, 12.8209, 60.8350)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DD0 #68D02D
analogous
#432DD0 #952DD0 #D02DBA
triadic
#952DD0 #D0952D #2DD095
tetradic
#952DD0 #D0432D #68D02D #2DBAD0
square
#952DD0 #D0432D #68D02D #2DBAD0
split-complementary
#952DD0 #BAD02D #2DD043
monochromatic
#4D176B #71229E #952DD0 #AF5EDC #C890E7

Accessibility & contrast

On white

5.89
#952DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#952DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DD0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DD0#FFFFFF#000000##FFFFFF
##952DD01.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#8C567F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #952dd0;
/* rgb */ color: rgb(149, 45, 208);
/* oklch */ color: oklch(53.5% 0.235 309.4);
Tailwind
colors: {
  custom: {
    50: '#ba72df',
    500: '#952dd0',
    950: '#000000',
  },
}
SCSS
$custom: #952dd0;
$custom-light: #ba72df;
$custom-dark: #000000;
JSON
{
  "hex": "#952dd0",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 278.282,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.23455,
    "h": 309.4
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#952DD0
secondary
#A2D287
accent
#E7407D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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