#952EB2#952EB2

#952EB2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.207 H 317.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#952EB2
RGBrgb(149, 46, 178)
HSLhsl(287, 59%, 44%)
HSVhsv(287, 74%, 70%)
CMYKcmyk(16.3%, 74.2%, 0%, 30.2%)
CIE-LABlab(40.51, 60.65, -49.55)
CIE-LCHlch(40.51, 78.32, 320.75°)
OKLaboklab(51.4% 0.153 -0.1393)
OKLCHoklch(51.4% 0.207 317.7)
XYZxyz(21.4061, 11.5589, 43.2144)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EB2 #4BB22E
analogous
#532EB2 #952EB2 #B22E8D
triadic
#952EB2 #B2952E #2EB295
tetradic
#952EB2 #B2532E #4BB22E #2E8DB2
square
#952EB2 #B2532E #4BB22E #2E8DB2
split-complementary
#952EB2 #8DB22E #2EB253
monochromatic
#441551 #6C2181 #952EB2 #B44CD1 #C87DDD

Accessibility & contrast

On white

6.34
#952EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#952EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EB2#FFFFFF#000000##FFFFFF
##952EB21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3263AF
Tritanopia (blue-blind)
#944A6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #952eb2;
/* rgb */ color: rgb(149, 46, 178);
/* oklch */ color: oklch(51.4% 0.207 317.7);
Tailwind
colors: {
  custom: {
    50: '#b871ca',
    500: '#952eb2',
    950: '#000000',
  },
}
SCSS
$custom: #952eb2;
$custom-light: #b871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#952eb2",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 286.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.2069,
    "h": 317.7
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#952EB2
secondary
#87C676
accent
#E24668
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #952EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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