#CF91ED#CF91ED

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

Color values

HEX#CF91ED
RGBrgb(207, 145, 237)
HSLhsl(280, 72%, 75%)
HSVhsv(280, 39%, 93%)
CMYKcmyk(12.7%, 38.8%, 0%, 7.1%)
CIE-LABlab(69.21, 39.41, -37.29)
CIE-LCHlch(69.21, 54.25, 316.58°)
OKLaboklab(75.04% 0.0999 -0.1029)
OKLCHoklch(75.04% 0.143 314.2)
XYZxyz(51.1411, 39.6317, 85.0600)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91ED #AFED91
analogous
#A191ED #CF91ED #ED91DD
triadic
#CF91ED #EDCF91 #91EDCF
tetradic
#CF91ED #EDA191 #AFED91 #91DDED
square
#CF91ED #EDA191 #AFED91 #91DDED
split-complementary
#CF91ED #DDED91 #91EDA1
monochromatic
#A128DC #B85CE4 #CF91ED #E6C6F6 #F4E5FB

Accessibility & contrast

On white

2.35
#CF91ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CF91ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91ED
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91ED#FFFFFF#000000##000000
##CF91ED1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5F0
Deuteranopia (green-blind)
#90ABEA
Tritanopia (blue-blind)
#CD9EB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf91ed;
/* rgb */ color: rgb(207, 145, 237);
/* oklch */ color: oklch(75.0% 0.143 314.2);
Tailwind
colors: {
  custom: {
    50: '#dfb2f3',
    500: '#cf91ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf91ed;
$custom-light: #dfb2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91ed",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 280.435,
    "s": 71.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75042,
    "c": 0.14336,
    "h": 314.2
  },
  "luminance": 0.39631
}

Semantic roles & 50–950 ramp

primary
#CF91ED
secondary
#E1F2D9
accent
#D41251
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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