#CF91E2#CF91E2

#CF91E2 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.6% C 0.131 H 318.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CF91E2
RGBrgb(207, 145, 226)
HSLhsl(286, 58%, 73%)
HSVhsv(286, 36%, 89%)
CMYKcmyk(8.4%, 35.8%, 0%, 11.4%)
CIE-LABlab(68.76, 37.17, -31.94)
CIE-LCHlch(68.76, 49.01, 319.33°)
OKLaboklab(74.56% 0.0975 -0.0876)
OKLCHoklch(74.56% 0.131 318.1)
XYZxyz(49.5831, 39.0085, 76.8542)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91E2 #A4E291
analogous
#A691E2 #CF91E2 #E291CC
triadic
#CF91E2 #E2CF91 #91E2CF
tetradic
#CF91E2 #E2A691 #A4E291 #91CCE2
square
#CF91E2 #E2A691 #A4E291 #91CCE2
split-complementary
#CF91E2 #CCE291 #91E2A6
monochromatic
#A334C5 #BA61D5 #CF91E2 #E4C1EF #F4E7F9

Accessibility & contrast

On white

2.39
#CF91E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CF91E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91E2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91E2#FFFFFF#000000##000000
##CF91E21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A4E5
Deuteranopia (green-blind)
#95AADF
Tritanopia (blue-blind)
#CF9BAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf91e2;
/* rgb */ color: rgb(207, 145, 226);
/* oklch */ color: oklch(74.6% 0.131 318.1);
Tailwind
colors: {
  custom: {
    50: '#dfb2eb',
    500: '#cf91e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf91e2;
$custom-light: #dfb2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91e2",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 285.926,
    "s": 58.273,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74556,
    "c": 0.13102,
    "h": 318.1
  },
  "luminance": 0.39007
}

Semantic roles & 50–950 ramp

primary
#CF91E2
secondary
#E0F0DB
accent
#C62047
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF91E2

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

Preview Lab → · Contrast checker → · Palette generator →

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