#CF91DC#CF91DC

#CF91DC is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.3% C 0.124 H 320.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CF91DC
RGBrgb(207, 145, 220)
HSLhsl(290, 52%, 72%)
HSVhsv(290, 34%, 86%)
CMYKcmyk(5.9%, 34.1%, 0%, 13.7%)
CIE-LABlab(68.52, 35.98, -28.99)
CIE-LCHlch(68.52, 46.21, 321.14°)
OKLaboklab(74.3% 0.096 -0.0792)
OKLCHoklch(74.3% 0.124 320.5)
XYZxyz(48.7742, 38.6849, 72.5939)
Luminance0.3868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91DC #9EDC91
analogous
#AA91DC #CF91DC #DC91C4
triadic
#CF91DC #DCCF91 #91DCCF
tetradic
#CF91DC #DCAA91 #9EDC91 #91C4DC
square
#CF91DC #DCAA91 #9EDC91 #91C4DC
split-complementary
#CF91DC #C4DC91 #91DCAA
monochromatic
#A23BB8 #BB63CD #CF91DC #E3BFEB #F5E8F8

Accessibility & contrast

On white

2.40
#CF91DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CF91DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91DC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91DC#FFFFFF#000000##000000
##CF91DC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3DF
Deuteranopia (green-blind)
#97A9DA
Tritanopia (blue-blind)
#D099AD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf91dc;
/* rgb */ color: rgb(207, 145, 220);
/* oklch */ color: oklch(74.3% 0.124 320.5);
Tailwind
colors: {
  custom: {
    50: '#deb2e7',
    500: '#cf91dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf91dc;
$custom-light: #deb2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91dc",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 289.6,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.743,
    "c": 0.12448,
    "h": 320.5
  },
  "luminance": 0.38684
}

Semantic roles & 50–950 ramp

primary
#CF91DC
secondary
#DEEEDB
accent
#BF2641
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF91DC

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

Preview Lab → · Contrast checker → · Palette generator →

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