#952EB0#952EB0

#952EB0 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.205 H 318.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#952EB0
RGBrgb(149, 46, 176)
HSLhsl(288, 59%, 44%)
HSVhsv(288, 74%, 69%)
CMYKcmyk(15.3%, 73.9%, 0%, 31%)
CIE-LABlab(40.38, 60.26, -48.58)
CIE-LCHlch(40.38, 77.40, 321.13°)
OKLaboklab(51.26% 0.1532 -0.1365)
OKLCHoklch(51.26% 0.205 318.3)
XYZxyz(21.2068, 11.4791, 42.1645)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EB0 #49B02E
analogous
#542EB0 #952EB0 #B02E8A
triadic
#952EB0 #B0952E #2EB095
tetradic
#952EB0 #B0542E #49B02E #2E8AB0
square
#952EB0 #B0542E #49B02E #2E8AB0
split-complementary
#952EB0 #8AB02E #2EB054
monochromatic
#43154F #6C217F #952EB0 #B44BD0 #C97CDD

Accessibility & contrast

On white

6.37
#952EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#952EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EB0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EB0#FFFFFF#000000##FFFFFF
##952EB01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#94496D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952eb0;
/* rgb */ color: rgb(149, 46, 176);
/* oklch */ color: oklch(51.3% 0.205 318.3);
Tailwind
colors: {
  custom: {
    50: '#b871c8',
    500: '#952eb0',
    950: '#000000',
  },
}
SCSS
$custom: #952eb0;
$custom-light: #b871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#952eb0",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 287.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.20514,
    "h": 318.3
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#952EB0
secondary
#85C575
accent
#E24666
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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