#C958EB#C958EB

#C958EB is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.227 H 317.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#C958EB
RGBrgb(201, 88, 235)
HSLhsl(286, 79%, 63%)
HSVhsv(286, 63%, 92%)
CMYKcmyk(14.5%, 62.6%, 0%, 7.8%)
CIE-LABlab(57.46, 65.92, -54.74)
CIE-LCHlch(57.46, 85.68, 320.29°)
OKLaboklab(66.17% 0.1678 -0.1532)
OKLCHoklch(66.17% 0.227 317.6)
XYZxyz(42.5704, 25.3968, 81.2408)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C958EB #7AEB58
analogous
#7F58EB #C958EB #EB58C4
triadic
#C958EB #EBC958 #58EBC9
tetradic
#C958EB #EB7F58 #7AEB58 #58C4EB
square
#C958EB #EB7F58 #7AEB58 #58C4EB
split-complementary
#C958EB #C4EB58 #58EB7F
monochromatic
#8F15B3 #B721E4 #C958EB #DB8FF2 #ECC5F8

Accessibility & contrast

On white

3.45
#C958EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#C958EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C958EB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C958EB#FFFFFF#000000##000000
##C958EB1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#C8729A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c958eb;
/* rgb */ color: rgb(201, 88, 235);
/* oklch */ color: oklch(66.2% 0.227 317.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ef2',
    500: '#c958eb',
    950: '#000000',
  },
}
SCSS
$custom: #c958eb;
$custom-light: #dd8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c958eb",
  "rgb": {
    "r": 201,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 286.122,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66168,
    "c": 0.2272,
    "h": 317.6
  },
  "luminance": 0.25395
}

Semantic roles & 50–950 ramp

primary
#C958EB
secondary
#C1EAB5
accent
#DB0B3B
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #C958EB

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

Preview Lab → · Contrast checker → · Palette generator →

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