#CD4FEA#CD4FEA

#CD4FEA is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.6% C 0.240 H 319.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CD4FEA
RGBrgb(205, 79, 234)
HSLhsl(289, 79%, 61%)
HSVhsv(289, 66%, 92%)
CMYKcmyk(12.4%, 66.2%, 0%, 8.2%)
CIE-LABlab(56.60, 70.38, -55.53)
CIE-LCHlch(56.60, 89.65, 321.73°)
OKLaboklab(65.64% 0.1823 -0.1554)
OKLCHoklch(65.64% 0.24 319.6)
XYZxyz(42.8222, 24.5136, 80.3019)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FEA #6CEA4F
analogous
#804FEA #CD4FEA #EA4FBA
triadic
#CD4FEA #EACD4F #4FEACD
tetradic
#CD4FEA #EA804F #6CEA4F #4FBAEA
square
#CD4FEA #EA804F #6CEA4F #4FBAEA
split-complementary
#CD4FEA #BAEA4F #4FEA80
monochromatic
#8E14AA #BC1BE1 #CD4FEA #DD86F1 #ECBCF7

Accessibility & contrast

On white

3.56
#CD4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CD4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FEA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FEA#FFFFFF#000000##000000
##CD4FEA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#137FEF
Deuteranopia (green-blind)
#5B8CE6
Tritanopia (blue-blind)
#CD6B96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd4fea;
/* rgb */ color: rgb(205, 79, 234);
/* oklch */ color: oklch(65.6% 0.240 319.6);
Tailwind
colors: {
  custom: {
    50: '#e089f1',
    500: '#cd4fea',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fea;
$custom-light: #e089f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fea",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 288.774,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65642,
    "c": 0.23954,
    "h": 319.6
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

primary
#CD4FEA
secondary
#B8E7AD
accent
#DB0B32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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