#CF4CE2#CF4CE2

#CF4CE2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.1% C 0.237 H 322.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CF4CE2
RGBrgb(207, 76, 226)
HSLhsl(292, 72%, 59%)
HSVhsv(292, 66%, 89%)
CMYKcmyk(8.4%, 66.4%, 0%, 11.4%)
CIE-LABlab(56.02, 70.56, -51.95)
CIE-LCHlch(56.02, 87.62, 323.64°)
OKLaboklab(65.14% 0.1879 -0.1448)
OKLCHoklch(65.14% 0.237 322.4)
XYZxyz(42.0426, 23.9276, 74.3407)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4CE2 #5FE24C
analogous
#844CE2 #CF4CE2 #E24CAA
triadic
#CF4CE2 #E2CF4C #4CE2CF
tetradic
#CF4CE2 #E2844C #5FE24C #4CAAE2
square
#CF4CE2 #E2844C #5FE24C #4CAAE2
split-complementary
#CF4CE2 #AAE24C #4CE284
monochromatic
#8A199B #B922CF #CF4CE2 #DD81EB #EBB5F3

Accessibility & contrast

On white

3.63
#CF4CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CF4CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4CE2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4CE2#FFFFFF#000000##000000
##CF4CE21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#217DE6
Deuteranopia (green-blind)
#608BDE
Tritanopia (blue-blind)
#D26591
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf4ce2;
/* rgb */ color: rgb(207, 76, 226);
/* oklch */ color: oklch(65.1% 0.237 322.4);
Tailwind
colors: {
  custom: {
    50: '#e188ec',
    500: '#cf4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ce2;
$custom-light: #e188ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ce2",
  "rgb": {
    "r": 207,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 292.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.23725,
    "h": 322.4
  },
  "luminance": 0.23925
}

Semantic roles & 50–950 ramp

primary
#CF4CE2
secondary
#AFE2A8
accent
#EF3950
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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