#CF91FE#CF91FE

#CF91FE is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.8% C 0.163 H 309.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CF91FE
RGBrgb(207, 145, 254)
HSLhsl(274, 98%, 78%)
HSVhsv(274, 43%, 100%)
CMYKcmyk(18.5%, 42.9%, 0%, 0.4%)
CIE-LABlab(69.95, 43.00, -45.42)
CIE-LCHlch(69.95, 62.55, 313.43°)
OKLaboklab(75.84% 0.103 -0.1263)
OKLCHoklch(75.84% 0.163 309.2)
XYZxyz(53.7436, 40.6727, 98.7661)
Luminance0.4067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91FE #C0FE91
analogous
#9891FE #CF91FE #FE91F7
triadic
#CF91FE #FECF91 #91FECF
tetradic
#CF91FE #FE9891 #C0FE91 #91F7FE
square
#CF91FE #FE9891 #C0FE91 #91F7FE
split-complementary
#CF91FE #F7FE91 #91FE98
monochromatic
#9A18FD #B554FD #CF91FE #E9CEFF #F2E1FF

Accessibility & contrast

On white

2.30
#CF91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#CF91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91FE
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91FE#FFFFFF#000000##000000
##CF91FE1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#C9A2BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf91fe;
/* rgb */ color: rgb(207, 145, 254);
/* oklch */ color: oklch(75.8% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#dfb2ff',
    500: '#cf91fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf91fe;
$custom-light: #dfb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91fe",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 274.128,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75841,
    "c": 0.16294,
    "h": 309.2
  },
  "luminance": 0.40672
}

Semantic roles & 50–950 ramp

primary
#CF91FE
secondary
#E3F7D4
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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