#C952EB#C952EB

#C952EB is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.235 H 317.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#C952EB
RGBrgb(201, 82, 235)
HSLhsl(287, 79%, 62%)
HSVhsv(287, 65%, 92%)
CMYKcmyk(14.5%, 65.1%, 0%, 7.8%)
CIE-LABlab(56.54, 68.47, -56.22)
CIE-LCHlch(56.54, 88.59, 320.61°)
OKLaboklab(65.5% 0.1745 -0.1575)
OKLCHoklch(65.5% 0.235 317.9)
XYZxyz(42.0980, 24.4520, 81.0834)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C952EB #74EB52
analogous
#7D52EB #C952EB #EB52C0
triadic
#C952EB #EBC952 #52EBC9
tetradic
#C952EB #EB7D52 #74EB52 #52C0EB
square
#C952EB #EB7D52 #74EB52 #52C0EB
split-complementary
#C952EB #C0EB52 #52EB7D
monochromatic
#8C14AE #B81BE5 #C952EB #DA89F1 #EBC0F8

Accessibility & contrast

On white

3.57
#C952EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#C952EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C952EB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C952EB#FFFFFF#000000##000000
##C952EB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580F0
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#C86E98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c952eb;
/* rgb */ color: rgb(201, 82, 235);
/* oklch */ color: oklch(65.5% 0.235 317.9);
Tailwind
colors: {
  custom: {
    50: '#dd8bf2',
    500: '#c952eb',
    950: '#000000',
  },
}
SCSS
$custom: #c952eb;
$custom-light: #dd8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c952eb",
  "rgb": {
    "r": 201,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 286.667,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65503,
    "c": 0.23503,
    "h": 317.9
  },
  "luminance": 0.2445
}

Semantic roles & 50–950 ramp

primary
#C952EB
secondary
#BDE8B0
accent
#DC0A39
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #C952EB

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

Preview Lab → · Contrast checker → · Palette generator →

#C952EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva