#952ED0#952ED0

#952ED0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.5% C 0.234 H 309.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#952ED0
RGBrgb(149, 46, 208)
HSLhsl(278, 64%, 50%)
HSVhsv(278, 78%, 82%)
CMYKcmyk(28.4%, 77.9%, 0%, 18.4%)
CIE-LABlab(42.61, 66.68, -63.69)
CIE-LCHlch(42.61, 92.21, 316.32°)
OKLaboklab(53.54% 0.1479 -0.1808)
OKLCHoklch(53.54% 0.234 309.3)
XYZxyz(24.7543, 12.8981, 60.8478)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952ED0 #69D02E
analogous
#442ED0 #952ED0 #D02EBA
triadic
#952ED0 #D0952E #2ED095
tetradic
#952ED0 #D0442E #69D02E #2EBAD0
square
#952ED0 #D0442E #69D02E #2EBAD0
split-complementary
#952ED0 #BAD02E #2ED044
monochromatic
#4D186C #71239E #952ED0 #AE5FDC #C892E7

Accessibility & contrast

On white

5.87
#952ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#952ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952ED0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952ED0#FFFFFF#000000##FFFFFF
##952ED01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#8C577F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #952ed0;
/* rgb */ color: rgb(149, 46, 208);
/* oklch */ color: oklch(53.5% 0.234 309.3);
Tailwind
colors: {
  custom: {
    50: '#ba73df',
    500: '#952ed0',
    950: '#000000',
  },
}
SCSS
$custom: #952ed0;
$custom-light: #ba73df;
$custom-dark: #000000;
JSON
{
  "hex": "#952ed0",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 278.148,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53543,
    "c": 0.23363,
    "h": 309.3
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#952ED0
secondary
#A3D288
accent
#E7417D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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