#CF5EE2#CF5EE2

#CF5EE2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.213 H 321.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CF5EE2
RGBrgb(207, 94, 226)
HSLhsl(291, 69%, 63%)
HSVhsv(291, 58%, 89%)
CMYKcmyk(8.4%, 58.4%, 0%, 11.4%)
CIE-LABlab(58.76, 62.98, -47.59)
CIE-LCHlch(58.76, 78.94, 322.92°)
OKLaboklab(67.12% 0.1674 -0.1323)
OKLCHoklch(67.12% 0.213 321.7)
XYZxyz(43.4608, 26.7639, 74.8135)
Luminance0.2676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EE2 #71E25E
analogous
#8D5EE2 #CF5EE2 #E25EB3
triadic
#CF5EE2 #E2CF5E #5EE2CF
tetradic
#CF5EE2 #E28D5E #71E25E #5EB3E2
square
#CF5EE2 #E28D5E #71E25E #5EB3E2
split-complementary
#CF5EE2 #B3E25E #5EE28D
monochromatic
#941EA7 #C02AD9 #CF5EE2 #DE92EB #EEC6F5

Accessibility & contrast

On white

3.31
#CF5EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CF5EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EE2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EE2#FFFFFF#000000##000000
##CF5EE21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#6D92DF
Tritanopia (blue-blind)
#D17297
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5ee2;
/* rgb */ color: rgb(207, 94, 226);
/* oklch */ color: oklch(67.1% 0.213 321.7);
Tailwind
colors: {
  custom: {
    50: '#e191eb',
    500: '#cf5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ee2;
$custom-light: #e191eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ee2",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 291.364,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6712,
    "c": 0.21332,
    "h": 321.7
  },
  "luminance": 0.26762
}

Semantic roles & 50–950 ramp

primary
#CF5EE2
secondary
#BDE6B6
accent
#D1142F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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