#CD5CF3#CD5CF3

#CD5CF3 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.6% C 0.231 H 316.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CD5CF3
RGBrgb(205, 92, 243)
HSLhsl(285, 86%, 66%)
HSVhsv(285, 62%, 95%)
CMYKcmyk(15.6%, 62.1%, 0%, 4.7%)
CIE-LABlab(59.07, 66.63, -56.60)
CIE-LCHlch(59.07, 87.42, 319.65°)
OKLaboklab(67.59% 0.1678 -0.1586)
OKLCHoklch(67.59% 0.231 316.6)
XYZxyz(45.1792, 27.1062, 87.6288)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CF3 #82F35C
analogous
#815CF3 #CD5CF3 #F35CCD
triadic
#CD5CF3 #F3CD5C #5CF3CD
tetradic
#CD5CF3 #F3815C #82F35C #5CCDF3
square
#CD5CF3 #F3815C #82F35C #5CCDF3
split-complementary
#CD5CF3 #CDF35C #5CF381
monochromatic
#980FC6 #BC23EF #CD5CF3 #DE95F7 #F0CEFB

Accessibility & contrast

On white

3.27
#CD5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CD5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CF3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CF3#FFFFFF#000000##000000
##CD5CF31.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F8
Deuteranopia (green-blind)
#5E92EF
Tritanopia (blue-blind)
#CB77A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5cf3;
/* rgb */ color: rgb(205, 92, 243);
/* oklch */ color: oklch(67.6% 0.231 316.6);
Tailwind
colors: {
  custom: {
    50: '#e091f8',
    500: '#cd5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cf3;
$custom-light: #e091f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cf3",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 284.901,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67589,
    "c": 0.23089,
    "h": 316.6
  },
  "luminance": 0.27104
}

Semantic roles & 50–950 ramp

primary
#CD5CF3
secondary
#C9EFBC
accent
#E3033B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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