#952EBA#952EBA

#952EBA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.214 H 315.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#952EBA
RGBrgb(149, 46, 186)
HSLhsl(284, 60%, 45%)
HSVhsv(284, 75%, 73%)
CMYKcmyk(19.9%, 75.3%, 0%, 27.1%)
CIE-LABlab(41.04, 62.21, -53.41)
CIE-LCHlch(41.04, 82.00, 319.35°)
OKLaboklab(51.94% 0.152 -0.1506)
OKLCHoklch(51.94% 0.214 315.2)
XYZxyz(22.2329, 11.8896, 47.5686)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952EBA #53BA2E
analogous
#4F2EBA #952EBA #BA2E99
triadic
#952EBA #BA952E #2EBA95
tetradic
#952EBA #BA4F2E #53BA2E #2E99BA
square
#952EBA #BA4F2E #53BA2E #2E99BA
split-complementary
#952EBA #99BA2E #2EBA4F
monochromatic
#461658 #6E2289 #952EBA #B151D4 #C782E0

Accessibility & contrast

On white

6.22
#952EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#952EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952EBA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952EBA#FFFFFF#000000##FFFFFF
##952EBA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#2963B7
Tritanopia (blue-blind)
#924D72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #952eba;
/* rgb */ color: rgb(149, 46, 186);
/* oklch */ color: oklch(51.9% 0.214 315.2);
Tailwind
colors: {
  custom: {
    50: '#b872cf',
    500: '#952eba',
    950: '#000000',
  },
}
SCSS
$custom: #952eba;
$custom-light: #b872cf;
$custom-dark: #000000;
JSON
{
  "hex": "#952eba",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 284.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.21397,
    "h": 315.2
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#952EBA
secondary
#8FC97B
accent
#E3446E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #952EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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