#CB91FE#CB91FE

#CB91FE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.4% C 0.162 H 307.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CB91FE
RGBrgb(203, 145, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(20.1%, 42.9%, 0%, 0.4%)
CIE-LABlab(69.54, 41.89, -46.08)
CIE-LCHlch(69.54, 62.27, 312.27°)
OKLaboklab(75.45% 0.0983 -0.1283)
OKLCHoklch(75.45% 0.162 307.5)
XYZxyz(52.6399, 40.1036, 98.7144)
Luminance0.4010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91FE #C4FE91
analogous
#9491FE #CB91FE #FE91FA
triadic
#CB91FE #FECB91 #91FECB
tetradic
#CB91FE #FE9491 #C4FE91 #91FAFE
square
#CB91FE #FE9491 #C4FE91 #91FAFE
split-complementary
#CB91FE #FAFE91 #91FE94
monochromatic
#9218FD #AE54FD #CB91FE #E8CEFF #F1E1FF

Accessibility & contrast

On white

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

On black

9.02
#CB91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91FE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91FE#FFFFFF#000000##000000
##CB91FE1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#C4A2BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb91fe;
/* rgb */ color: rgb(203, 145, 254);
/* oklch */ color: oklch(75.4% 0.162 307.5);
Tailwind
colors: {
  custom: {
    50: '#ddb2ff',
    500: '#cb91fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb91fe;
$custom-light: #ddb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91fe",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 271.927,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75447,
    "c": 0.16162,
    "h": 307.5
  },
  "luminance": 0.40103
}

Semantic roles & 50–950 ramp

primary
#CB91FE
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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