#CD4FE3#CD4FE3

#CD4FE3 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.233 H 321.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CD4FE3
RGBrgb(205, 79, 227)
HSLhsl(291, 73%, 60%)
HSVhsv(291, 65%, 89%)
CMYKcmyk(9.7%, 65.2%, 0%, 11%)
CIE-LABlab(56.21, 69.11, -52.22)
CIE-LCHlch(56.21, 86.62, 322.92°)
OKLaboklab(65.23% 0.1825 -0.1457)
OKLCHoklch(65.23% 0.233 321.4)
XYZxyz(41.8364, 24.1193, 75.1100)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FE3 #65E34F
analogous
#834FE3 #CD4FE3 #E34FAF
triadic
#CD4FE3 #E3CD4F #4FE3CD
tetradic
#CD4FE3 #E3834F #65E34F #4FAFE3
square
#CD4FE3 #E3834F #65E34F #4FAFE3
split-complementary
#CD4FE3 #AFE34F #4FE383
monochromatic
#8B199E #B922D3 #CD4FE3 #DC84EB #EBB9F4

Accessibility & contrast

On white

3.61
#CD4FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CD4FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FE3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FE3#FFFFFF#000000##000000
##CD4FE31.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#608BDF
Tritanopia (blue-blind)
#CF6893
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd4fe3;
/* rgb */ color: rgb(205, 79, 227);
/* oklch */ color: oklch(65.2% 0.233 321.4);
Tailwind
colors: {
  custom: {
    50: '#e089ec',
    500: '#cd4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fe3;
$custom-light: #e089ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fe3",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 291.081,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.65234,
    "c": 0.23349,
    "h": 321.4
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

primary
#CD4FE3
secondary
#B3E3AA
accent
#EF3954
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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