#CF91EC#CF91EC

#CF91EC is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.0% C 0.142 H 314.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CF91EC
RGBrgb(207, 145, 236)
HSLhsl(281, 71%, 75%)
HSVhsv(281, 39%, 93%)
CMYKcmyk(12.3%, 38.6%, 0%, 7.5%)
CIE-LABlab(69.16, 39.20, -36.81)
CIE-LCHlch(69.16, 53.77, 316.80°)
OKLaboklab(75% 0.0997 -0.1015)
OKLCHoklch(75% 0.142 314.5)
XYZxyz(50.9954, 39.5734, 84.2927)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91EC #AEEC91
analogous
#A291EC #CF91EC #EC91DC
triadic
#CF91EC #ECCF91 #91ECCF
tetradic
#CF91EC #ECA291 #AEEC91 #91DCEC
square
#CF91EC #ECA291 #AEEC91 #91DCEC
split-complementary
#CF91EC #DCEC91 #91ECA2
monochromatic
#A129DA #B85DE3 #CF91EC #E6C5F5 #F4E5FA

Accessibility & contrast

On white

2.36
#CF91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CF91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91EC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91EC#FFFFFF#000000##000000
##CF91EC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#CD9DB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf91ec;
/* rgb */ color: rgb(207, 145, 236);
/* oklch */ color: oklch(75.0% 0.142 314.5);
Tailwind
colors: {
  custom: {
    50: '#dfb2f2',
    500: '#cf91ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf91ec;
$custom-light: #dfb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91ec",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 280.879,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74997,
    "c": 0.14223,
    "h": 314.5
  },
  "luminance": 0.39572
}

Semantic roles & 50–950 ramp

primary
#CF91EC
secondary
#E1F2D9
accent
#D31350
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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