#CF91FD#CF91FD

#CF91FD is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.8% C 0.162 H 309.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CF91FD
RGBrgb(207, 145, 253)
HSLhsl(274, 96%, 78%)
HSVhsv(274, 43%, 99%)
CMYKcmyk(18.2%, 42.7%, 0%, 0.8%)
CIE-LABlab(69.90, 42.79, -44.95)
CIE-LCHlch(69.90, 62.06, 313.59°)
OKLaboklab(75.79% 0.1028 -0.1249)
OKLCHoklch(75.79% 0.162 309.5)
XYZxyz(53.5839, 40.6088, 97.9249)
Luminance0.4061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91FD #BFFD91
analogous
#9991FD #CF91FD #FD91F5
triadic
#CF91FD #FDCF91 #91FDCF
tetradic
#CF91FD #FD9991 #BFFD91 #91F5FD
square
#CF91FD #FD9991 #BFFD91 #91F5FD
split-complementary
#CF91FD #F5FD91 #91FD99
monochromatic
#9B19FB #B555FC #CF91FD #E9CDFE #F2E1FE

Accessibility & contrast

On white

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

On black

9.12
#CF91FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91FD
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91FD#FFFFFF#000000##000000
##CF91FD1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#C9A2BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf91fd;
/* rgb */ color: rgb(207, 145, 253);
/* oklch */ color: oklch(75.8% 0.162 309.5);
Tailwind
colors: {
  custom: {
    50: '#dfb2fe',
    500: '#cf91fd',
    950: '#000000',
  },
}
SCSS
$custom: #cf91fd;
$custom-light: #dfb2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91fd",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 253
  },
  "hsl": {
    "h": 274.444,
    "s": 96.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75793,
    "c": 0.16178,
    "h": 309.5
  },
  "luminance": 0.40608
}

Semantic roles & 50–950 ramp

primary
#CF91FD
secondary
#E3F7D4
accent
#E60062
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CF91FD

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

Preview Lab → · Contrast checker → · Palette generator →

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