#CF5EF2#CF5EF2

#CF5EF2 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.0% C 0.228 H 317.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CF5EF2
RGBrgb(207, 94, 242)
HSLhsl(286, 85%, 66%)
HSVhsv(286, 61%, 95%)
CMYKcmyk(14.5%, 61.2%, 0%, 5.1%)
CIE-LABlab(59.60, 66.01, -55.18)
CIE-LCHlch(59.60, 86.04, 320.10°)
OKLaboklab(68.01% 0.1679 -0.1544)
OKLCHoklch(68.01% 0.228 317.4)
XYZxyz(45.7595, 27.6834, 86.9202)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EF2 #81F25E
analogous
#855EF2 #CF5EF2 #F25ECB
triadic
#CF5EF2 #F2CF5E #5EF2CF
tetradic
#CF5EF2 #F2855E #81F25E #5ECBF2
square
#CF5EF2 #F2855E #81F25E #5ECBF2
split-complementary
#CF5EF2 #CBF25E #5EF285
monochromatic
#9B10C6 #BE25ED #CF5EF2 #E097F7 #F1CFFB

Accessibility & contrast

On white

3.21
#CF5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#CF5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EF2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EF2#FFFFFF#000000##000000
##CF5EF21.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F7
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#CE78A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5ef2;
/* rgb */ color: rgb(207, 94, 242);
/* oklch */ color: oklch(68.0% 0.228 317.4);
Tailwind
colors: {
  custom: {
    50: '#e192f7',
    500: '#cf5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ef2;
$custom-light: #e192f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ef2",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 285.811,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68009,
    "c": 0.22806,
    "h": 317.4
  },
  "luminance": 0.27682
}

Semantic roles & 50–950 ramp

primary
#CF5EF2
secondary
#C9EEBD
accent
#E20438
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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