#CF91F9#CF91F9

#CF91F9 is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.6% C 0.157 H 310.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#CF91F9
RGBrgb(207, 145, 249)
HSLhsl(276, 90%, 77%)
HSVhsv(276, 42%, 98%)
CMYKcmyk(16.9%, 41.8%, 0%, 2.4%)
CIE-LABlab(69.72, 41.93, -43.05)
CIE-LCHlch(69.72, 60.09, 314.25°)
OKLaboklab(75.6% 0.1021 -0.1194)
OKLCHoklch(75.6% 0.157 310.5)
XYZxyz(52.9533, 40.3566, 94.6042)
Luminance0.4036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91F9 #BBF991
analogous
#9B91F9 #CF91F9 #F991EF
triadic
#CF91F9 #F9CF91 #91F9CF
tetradic
#CF91F9 #F99B91 #BBF991 #91EFF9
square
#CF91F9 #F99B91 #BBF991 #91EFF9
split-complementary
#CF91F9 #EFF991 #91F99B
monochromatic
#9C1DF3 #B657F6 #CF91F9 #E8CBFC #F2E2FD

Accessibility & contrast

On white

2.32
#CF91F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#CF91F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91F9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91F9#FFFFFF#000000##000000
##CF91F91.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#8BACF6
Tritanopia (blue-blind)
#CAA1B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf91f9;
/* rgb */ color: rgb(207, 145, 249);
/* oklch */ color: oklch(75.6% 0.157 310.5);
Tailwind
colors: {
  custom: {
    50: '#dfb2fb',
    500: '#cf91f9',
    950: '#000000',
  },
}
SCSS
$custom: #cf91f9;
$custom-light: #dfb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91f9",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 275.769,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.756,
    "c": 0.15714,
    "h": 310.5
  },
  "luminance": 0.40356
}

Semantic roles & 50–950 ramp

primary
#CF91F9
secondary
#E2F6D5
accent
#E6005D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF91F9

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

Preview Lab → · Contrast checker → · Palette generator →

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