#CB91FA#CB91FA

#CB91FA is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.3% C 0.157 H 308.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CB91FA
RGBrgb(203, 145, 250)
HSLhsl(273, 91%, 77%)
HSVhsv(273, 42%, 98%)
CMYKcmyk(18.8%, 42%, 0%, 2%)
CIE-LABlab(69.36, 41.01, -44.19)
CIE-LCHlch(69.36, 60.29, 312.87°)
OKLaboklab(75.25% 0.0977 -0.1228)
OKLCHoklch(75.25% 0.157 308.5)
XYZxyz(52.0060, 39.8500, 95.3761)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91FA #C0FA91
analogous
#9791FA #CB91FA #FA91F4
triadic
#CB91FA #FACB91 #91FACB
tetradic
#CB91FA #FA9791 #C0FA91 #91F4FA
square
#CB91FA #FA9791 #C0FA91 #91F4FA
split-complementary
#CB91FA #F4FA91 #91FA97
monochromatic
#941CF5 #AF56F7 #CB91FA #E7CCFD #F1E2FE

Accessibility & contrast

On white

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

On black

8.97
#CB91FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91FA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91FA#FFFFFF#000000##000000
##CB91FA1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#C5A1BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb91fa;
/* rgb */ color: rgb(203, 145, 250);
/* oklch */ color: oklch(75.3% 0.157 308.5);
Tailwind
colors: {
  custom: {
    50: '#dcb2fc',
    500: '#cb91fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb91fa;
$custom-light: #dcb2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91fa",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 273.143,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75252,
    "c": 0.1569,
    "h": 308.5
  },
  "luminance": 0.39849
}

Semantic roles & 50–950 ramp

primary
#CB91FA
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB91FA

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

Preview Lab → · Contrast checker → · Palette generator →

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