#CF91FF#CF91FF

#CF91FF is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.9% C 0.164 H 308.9°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CF91FF
RGBrgb(207, 145, 255)
HSLhsl(274, 100%, 78%)
HSVhsv(274, 43%, 100%)
CMYKcmyk(18.8%, 43.1%, 0%, 0%)
CIE-LABlab(69.99, 43.22, -45.89)
CIE-LCHlch(69.99, 63.04, 313.28°)
OKLaboklab(75.89% 0.1032 -0.1276)
OKLCHoklch(75.89% 0.164 308.9)
XYZxyz(53.9041, 40.7369, 99.6117)
Luminance0.4074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91FF #C1FF91
analogous
#9891FF #CF91FF #FF91F8
triadic
#CF91FF #FFCF91 #91FFCF
tetradic
#CF91FF #FF9891 #C1FF91 #91F8FF
square
#CF91FF #FF9891 #C1FF91 #91F8FF
split-complementary
#CF91FF #F8FF91 #91FF98
monochromatic
#9A17FF #B454FF #CF91FF #EACEFF #F2E0FF

Accessibility & contrast

On white

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

On black

9.15
#CF91FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91FF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91FF#FFFFFF#000000##000000
##CF91FF1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf91ff;
/* rgb */ color: rgb(207, 145, 255);
/* oklch */ color: oklch(75.9% 0.164 308.9);
Tailwind
colors: {
  custom: {
    50: '#dfb2ff',
    500: '#cf91ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf91ff;
$custom-light: #dfb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91ff",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 255
  },
  "hsl": {
    "h": 273.818,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7589,
    "c": 0.16411,
    "h": 308.9
  },
  "luminance": 0.40736
}

Semantic roles & 50–950 ramp

primary
#CF91FF
secondary
#E3F7D4
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF91FF

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

Preview Lab → · Contrast checker → · Palette generator →

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