#CD5CF1#CD5CF1

#CD5CF1 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.229 H 317.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CD5CF1
RGBrgb(205, 92, 241)
HSLhsl(286, 84%, 65%)
HSVhsv(286, 62%, 95%)
CMYKcmyk(14.9%, 61.8%, 0%, 5.5%)
CIE-LABlab(58.96, 66.24, -55.66)
CIE-LCHlch(58.96, 86.52, 319.96°)
OKLaboklab(67.47% 0.1678 -0.1558)
OKLCHoklch(67.47% 0.229 317.1)
XYZxyz(44.8789, 26.9860, 86.0468)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CF1 #80F15C
analogous
#825CF1 #CD5CF1 #F15CCB
triadic
#CD5CF1 #F1CD5C #5CF1CD
tetradic
#CD5CF1 #F1825C #80F15C #5CCBF1
square
#CD5CF1 #F1825C #80F15C #5CCBF1
split-complementary
#CD5CF1 #CBF15C #5CF182
monochromatic
#9711C2 #BC24EC #CD5CF1 #DE94F6 #F0CDFB

Accessibility & contrast

On white

3.28
#CD5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CD5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CF1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CF1#FFFFFF#000000##000000
##CD5CF11.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F6
Deuteranopia (green-blind)
#6091ED
Tritanopia (blue-blind)
#CC769E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5cf1;
/* rgb */ color: rgb(205, 92, 241);
/* oklch */ color: oklch(67.5% 0.229 317.1);
Tailwind
colors: {
  custom: {
    50: '#e091f6',
    500: '#cd5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cf1;
$custom-light: #e091f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cf1",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 285.503,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.22903,
    "h": 317.1
  },
  "luminance": 0.26984
}

Semantic roles & 50–950 ramp

primary
#CD5CF1
secondary
#C7EEBB
accent
#E1053A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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