#952DCA#952DCA

#952DCA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 53.0% C 0.229 H 310.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#952DCA
RGBrgb(149, 45, 202)
HSLhsl(280, 64%, 48%)
HSVhsv(280, 78%, 79%)
CMYKcmyk(26.2%, 77.7%, 0%, 20.8%)
CIE-LABlab(42.05, 65.78, -61.13)
CIE-LCHlch(42.05, 89.80, 317.10°)
OKLaboklab(53.01% 0.15 -0.1733)
OKLCHoklch(53.01% 0.229 310.9)
XYZxyz(23.9914, 12.5312, 57.0206)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952DCA #62CA2D
analogous
#462DCA #952DCA #CA2DB0
triadic
#952DCA #CA952D #2DCA95
tetradic
#952DCA #CA462D #62CA2D #2DB0CA
square
#952DCA #CA462D #62CA2D #2DB0CA
split-complementary
#952DCA #B0CA2D #2DCA46
monochromatic
#4B1766 #702298 #952DCA #AF5ADA #C78CE5

Accessibility & contrast

On white

5.99
#952DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#952DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952DCA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952DCA#FFFFFF#000000##FFFFFF
##952DCA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#8E547B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #952dca;
/* rgb */ color: rgb(149, 45, 202);
/* oklch */ color: oklch(53.0% 0.229 310.9);
Tailwind
colors: {
  custom: {
    50: '#b972db',
    500: '#952dca',
    950: '#000000',
  },
}
SCSS
$custom: #952dca;
$custom-light: #b972db;
$custom-dark: #000000;
JSON
{
  "hex": "#952dca",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 279.745,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.22921,
    "h": 310.9
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#952DCA
secondary
#9DCF83
accent
#E74179
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #952DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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