#CF91FA#CF91FA

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

Color values

HEX#CF91FA
RGBrgb(207, 145, 250)
HSLhsl(275, 91%, 77%)
HSVhsv(275, 42%, 98%)
CMYKcmyk(17.2%, 42%, 0%, 2%)
CIE-LABlab(69.77, 42.14, -43.52)
CIE-LCHlch(69.77, 60.58, 314.08°)
OKLaboklab(75.65% 0.1023 -0.1208)
OKLCHoklch(75.65% 0.158 310.3)
XYZxyz(53.1097, 40.4191, 95.4278)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF91FA #BCFA91
analogous
#9B91FA #CF91FA #FA91F0
triadic
#CF91FA #FACF91 #91FACF
tetradic
#CF91FA #FA9B91 #BCFA91 #91F0FA
square
#CF91FA #FA9B91 #BCFA91 #91F0FA
split-complementary
#CF91FA #F0FA91 #91FA9B
monochromatic
#9C1CF5 #B556F7 #CF91FA #E9CCFD #F2E2FE

Accessibility & contrast

On white

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

On black

9.08
#CF91FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF91FA
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF91FA#FFFFFF#000000##000000
##CF91FA1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FE
Deuteranopia (green-blind)
#8AACF7
Tritanopia (blue-blind)
#CAA1BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cf91fa;
/* rgb */ color: rgb(207, 145, 250);
/* oklch */ color: oklch(75.6% 0.158 310.3);
Tailwind
colors: {
  custom: {
    50: '#dfb2fc',
    500: '#cf91fa',
    950: '#000000',
  },
}
SCSS
$custom: #cf91fa;
$custom-light: #dfb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf91fa",
  "rgb": {
    "r": 207,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 275.429,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75648,
    "c": 0.1583,
    "h": 310.3
  },
  "luminance": 0.40418
}

Semantic roles & 50–950 ramp

primary
#CF91FA
secondary
#E3F6D5
accent
#E6005E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF91FA

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

Preview Lab → · Contrast checker → · Palette generator →

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