#CF91FB#CF91FB

#CF91FB is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.7% C 0.159 H 310.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CF91FB
RGBrgb(207, 145, 251)
HSLhsl(275, 93%, 78%)
HSVhsv(275, 42%, 98%)
CMYKcmyk(17.5%, 42.2%, 0%, 1.6%)
CIE-LABlab(69.81, 42.36, -44.00)
CIE-LCHlch(69.81, 61.07, 313.91°)
OKLaboklab(75.7% 0.1025 -0.1222)
OKLCHoklch(75.7% 0.159 310)
XYZxyz(53.2669, 40.4820, 96.2558)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91FB #BDFB91
analogous
#9A91FB #CF91FB #FB91F2
triadic
#CF91FB #FBCF91 #91FBCF
tetradic
#CF91FB #FB9A91 #BDFB91 #91F2FB
square
#CF91FB #FB9A91 #BDFB91 #91F2FB
split-complementary
#CF91FB #F2FB91 #91FB9A
monochromatic
#9B1BF7 #B556F9 #CF91FB #E9CCFD #F2E1FE

Accessibility & contrast

On white

2.31
#CF91FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CF91FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91FB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91FB#FFFFFF#000000##000000
##CF91FB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#CAA1BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cf91fb;
/* rgb */ color: rgb(207, 145, 251);
/* oklch */ color: oklch(75.7% 0.159 310.0);
Tailwind
colors: {
  custom: {
    50: '#dfb2fd',
    500: '#cf91fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf91fb;
$custom-light: #dfb2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91fb",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 275.094,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75696,
    "c": 0.15946,
    "h": 310
  },
  "luminance": 0.40481
}

Semantic roles & 50–950 ramp

primary
#CF91FB
secondary
#E3F6D5
accent
#E6005F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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