#CD5CF7#CD5CF7

#CD5CF7 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.235 H 315.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CD5CF7
RGBrgb(205, 92, 247)
HSLhsl(284, 91%, 66%)
HSVhsv(284, 63%, 97%)
CMYKcmyk(17%, 62.8%, 0%, 3.1%)
CIE-LABlab(59.30, 67.41, -58.46)
CIE-LCHlch(59.30, 89.23, 319.07°)
OKLaboklab(67.82% 0.1678 -0.164)
OKLCHoklch(67.82% 0.235 315.7)
XYZxyz(45.7899, 27.3504, 90.8448)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CF7 #86F75C
analogous
#805CF7 #CD5CF7 #F75CD4
triadic
#CD5CF7 #F7CD5C #5CF7CD
tetradic
#CD5CF7 #F7805C #86F75C #5CD4F7
square
#CD5CF7 #F7805C #86F75C #5CD4F7
split-complementary
#CD5CF7 #D4F75C #5CF780
monochromatic
#990ACE #BB22F4 #CD5CF7 #DF96FA #F1D1FD

Accessibility & contrast

On white

3.25
#CD5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CD5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CF7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CF7#FFFFFF#000000##000000
##CD5CF71.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2188FC
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#CA78A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5cf7;
/* rgb */ color: rgb(205, 92, 247);
/* oklch */ color: oklch(67.8% 0.235 315.7);
Tailwind
colors: {
  custom: {
    50: '#e091fa',
    500: '#cd5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cf7;
$custom-light: #e091fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cf7",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 283.742,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67824,
    "c": 0.23463,
    "h": 315.7
  },
  "luminance": 0.27349
}

Semantic roles & 50–950 ramp

primary
#CD5CF7
secondary
#CCF1BE
accent
#E6003E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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