#CF91F8#CF91F8

#CF91F8 is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.6% C 0.156 H 310.8°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CF91F8
RGBrgb(207, 145, 248)
HSLhsl(276, 88%, 77%)
HSVhsv(276, 42%, 97%)
CMYKcmyk(16.5%, 41.5%, 0%, 2.7%)
CIE-LABlab(69.68, 41.71, -42.57)
CIE-LCHlch(69.68, 59.60, 314.42°)
OKLaboklab(75.55% 0.102 -0.118)
OKLCHoklch(75.55% 0.156 310.8)
XYZxyz(52.7978, 40.2944, 93.7850)
Luminance0.4029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91F8 #BAF891
analogous
#9C91F8 #CF91F8 #F891ED
triadic
#CF91F8 #F8CF91 #91F8CF
tetradic
#CF91F8 #F89C91 #BAF891 #91EDF8
square
#CF91F8 #F89C91 #BAF891 #91EDF8
split-complementary
#CF91F8 #EDF891 #91F89C
monochromatic
#9D1EF1 #B657F4 #CF91F8 #E8CBFC #F2E2FD

Accessibility & contrast

On white

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

On black

9.06
#CF91F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91F8
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91F8#FFFFFF#000000##000000
##CF91F81.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#CAA0B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf91f8;
/* rgb */ color: rgb(207, 145, 248);
/* oklch */ color: oklch(75.6% 0.156 310.8);
Tailwind
colors: {
  custom: {
    50: '#dfb2fb',
    500: '#cf91f8',
    950: '#000000',
  },
}
SCSS
$custom: #cf91f8;
$custom-light: #dfb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91f8",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 276.117,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75553,
    "c": 0.15599,
    "h": 310.8
  },
  "luminance": 0.40294
}

Semantic roles & 50–950 ramp

primary
#CF91F8
secondary
#E2F5D6
accent
#E5015C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF91F8

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

Preview Lab → · Contrast checker → · Palette generator →

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