#CB91FB#CB91FB

#CB91FB is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.158 H 308.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#CB91FB
RGBrgb(203, 145, 251)
HSLhsl(273, 93%, 78%)
HSVhsv(273, 42%, 98%)
CMYKcmyk(19.1%, 42.2%, 0%, 1.6%)
CIE-LABlab(69.41, 41.23, -44.66)
CIE-LCHlch(69.41, 60.78, 312.71°)
OKLaboklab(75.3% 0.0978 -0.1242)
OKLCHoklch(75.3% 0.158 308.2)
XYZxyz(52.1632, 39.9129, 96.2041)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91FB #C1FB91
analogous
#9691FB #CB91FB #FB91F6
triadic
#CB91FB #FBCB91 #91FBCB
tetradic
#CB91FB #FB9691 #C1FB91 #91F6FB
square
#CB91FB #FB9691 #C1FB91 #91F6FB
split-complementary
#CB91FB #F6FB91 #91FB96
monochromatic
#931BF7 #AF56F9 #CB91FB #E7CCFD #F1E1FE

Accessibility & contrast

On white

2.34
#CB91FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#CB91FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91FB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91FB#FFFFFF#000000##000000
##CB91FB1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#C5A2BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb91fb;
/* rgb */ color: rgb(203, 145, 251);
/* oklch */ color: oklch(75.3% 0.158 308.2);
Tailwind
colors: {
  custom: {
    50: '#dcb2fd',
    500: '#cb91fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb91fb;
$custom-light: #dcb2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91fb",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 272.83,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.753,
    "c": 0.15808,
    "h": 308.2
  },
  "luminance": 0.39912
}

Semantic roles & 50–950 ramp

primary
#CB91FB
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB91FB

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

Preview Lab → · Contrast checker → · Palette generator →

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