#CB91F8#CB91F8

#CB91F8 is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.155 H 309.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CB91F8
RGBrgb(203, 145, 248)
HSLhsl(274, 88%, 77%)
HSVhsv(274, 42%, 97%)
CMYKcmyk(18.1%, 41.5%, 0%, 2.7%)
CIE-LABlab(69.27, 40.58, -43.23)
CIE-LCHlch(69.27, 59.29, 313.18°)
OKLaboklab(75.16% 0.0973 -0.12)
OKLCHoklch(75.16% 0.155 309)
XYZxyz(51.6941, 39.7253, 93.7332)
Luminance0.3972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91F8 #BEF891
analogous
#9891F8 #CB91F8 #F891F2
triadic
#CB91F8 #F8CB91 #91F8CB
tetradic
#CB91F8 #F89891 #BEF891 #91F2F8
square
#CB91F8 #F89891 #BEF891 #91F2F8
split-complementary
#CB91F8 #F2F891 #91F898
monochromatic
#951EF1 #B057F4 #CB91F8 #E6CBFC #F1E2FD

Accessibility & contrast

On white

2.35
#CB91F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CB91F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91F8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91F8#FFFFFF#000000##000000
##CB91F81.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#C5A1B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb91f8;
/* rgb */ color: rgb(203, 145, 248);
/* oklch */ color: oklch(75.2% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#dcb2fb',
    500: '#cb91f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb91f8;
$custom-light: #dcb2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91f8",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 273.786,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75156,
    "c": 0.15453,
    "h": 309
  },
  "luminance": 0.39725
}

Semantic roles & 50–950 ramp

primary
#CB91F8
secondary
#E4F5D6
accent
#E50164
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB91F8

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

Preview Lab → · Contrast checker → · Palette generator →

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