#CF91EF#CF91EF

#CF91EF is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.1% C 0.146 H 313.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CF91EF
RGBrgb(207, 145, 239)
HSLhsl(280, 75%, 75%)
HSVhsv(280, 39%, 94%)
CMYKcmyk(13.4%, 39.3%, 0%, 6.3%)
CIE-LABlab(69.29, 39.82, -38.26)
CIE-LCHlch(69.29, 55.22, 316.15°)
OKLaboklab(75.13% 0.1003 -0.1056)
OKLCHoklch(75.13% 0.146 313.5)
XYZxyz(51.4350, 39.7492, 86.6074)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91EF #B1EF91
analogous
#A091EF #CF91EF #EF91E0
triadic
#CF91EF #EFCF91 #91EFCF
tetradic
#CF91EF #EFA091 #B1EF91 #91E0EF
square
#CF91EF #EFA091 #B1EF91 #91E0EF
split-complementary
#CF91EF #E0EF91 #91EFA0
monochromatic
#A026DF #B85CE7 #CF91EF #E6C6F7 #F3E4FB

Accessibility & contrast

On white

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

On black

8.95
#CF91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91EF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91EF#FFFFFF#000000##000000
##CF91EF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F2
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#CD9EB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf91ef;
/* rgb */ color: rgb(207, 145, 239);
/* oklch */ color: oklch(75.1% 0.146 313.5);
Tailwind
colors: {
  custom: {
    50: '#dfb2f4',
    500: '#cf91ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf91ef;
$custom-light: #dfb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91ef",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 279.574,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75133,
    "c": 0.14564,
    "h": 313.5
  },
  "luminance": 0.39748
}

Semantic roles & 50–950 ramp

primary
#CF91EF
secondary
#E1F3D8
accent
#D70F53
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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