#CD5CF2#CD5CF2

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

Color values

HEX#CD5CF2
RGBrgb(205, 92, 242)
HSLhsl(285, 85%, 65%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.3%, 62%, 0%, 5.1%)
CIE-LABlab(59.02, 66.43, -56.13)
CIE-LCHlch(59.02, 86.97, 319.80°)
OKLaboklab(67.53% 0.1678 -0.1572)
OKLCHoklch(67.53% 0.23 316.9)
XYZxyz(45.0286, 27.0460, 86.8357)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CF2 #81F25C
analogous
#825CF2 #CD5CF2 #F25CCC
triadic
#CD5CF2 #F2CD5C #5CF2CD
tetradic
#CD5CF2 #F2825C #81F25C #5CCCF2
square
#CD5CF2 #F2825C #81F25C #5CCCF2
split-complementary
#CD5CF2 #CCF25C #5CF282
monochromatic
#9710C4 #BC23ED #CD5CF2 #DE95F7 #F0CDFB

Accessibility & contrast

On white

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

On black

6.41
#CD5CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CF2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CF2#FFFFFF#000000##000000
##CD5CF21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F7
Deuteranopia (green-blind)
#5F91EE
Tritanopia (blue-blind)
#CB769F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5cf2;
/* rgb */ color: rgb(205, 92, 242);
/* oklch */ color: oklch(67.5% 0.230 316.9);
Tailwind
colors: {
  custom: {
    50: '#e091f7',
    500: '#cd5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cf2;
$custom-light: #e091f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cf2",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 285.2,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6753,
    "c": 0.22995,
    "h": 316.9
  },
  "luminance": 0.27044
}

Semantic roles & 50–950 ramp

primary
#CD5CF2
secondary
#C8EEBC
accent
#E2043B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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