#CB91FC#CB91FC

#CB91FC is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.3% C 0.159 H 308.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CB91FC
RGBrgb(203, 145, 252)
HSLhsl(273, 95%, 78%)
HSVhsv(273, 42%, 99%)
CMYKcmyk(19.4%, 42.5%, 0%, 1.2%)
CIE-LABlab(69.45, 41.45, -45.13)
CIE-LCHlch(69.45, 61.28, 312.56°)
OKLaboklab(75.35% 0.098 -0.1255)
OKLCHoklch(75.35% 0.159 308)
XYZxyz(52.3213, 39.9761, 97.0364)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91FC #C2FC91
analogous
#9591FC #CB91FC #FC91F8
triadic
#CB91FC #FCCB91 #91FCCB
tetradic
#CB91FC #FC9591 #C2FC91 #91F8FC
square
#CB91FC #FC9591 #C2FC91 #91F8FC
split-complementary
#CB91FC #F8FC91 #91FC95
monochromatic
#931AF9 #AF55FA #CB91FC #E7CDFE #F1E1FE

Accessibility & contrast

On white

2.33
#CB91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CB91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91FC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91FC#FFFFFF#000000##000000
##CB91FC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#87AAF9
Tritanopia (blue-blind)
#C4A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb91fc;
/* rgb */ color: rgb(203, 145, 252);
/* oklch */ color: oklch(75.3% 0.159 308.0);
Tailwind
colors: {
  custom: {
    50: '#dcb2fe',
    500: '#cb91fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb91fc;
$custom-light: #dcb2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91fc",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 272.523,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75349,
    "c": 0.15926,
    "h": 308
  },
  "luminance": 0.39976
}

Semantic roles & 50–950 ramp

primary
#CB91FC
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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