#CB8FFB#CB8FFB

#CB8FFB is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.161 H 308.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CB8FFB
RGBrgb(203, 143, 251)
HSLhsl(273, 93%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(19.1%, 43%, 0%, 1.6%)
CIE-LABlab(68.97, 42.31, -45.34)
CIE-LCHlch(68.97, 62.02, 313.02°)
OKLaboklab(74.97% 0.1006 -0.1261)
OKLCHoklch(74.97% 0.161 308.6)
XYZxyz(51.8603, 39.3071, 96.1031)
Luminance0.3931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FFB #BFFB8F
analogous
#958FFB #CB8FFB #FB8FF5
triadic
#CB8FFB #FBCB8F #8FFBCB
tetradic
#CB8FFB #FB958F #BFFB8F #8FF5FB
square
#CB8FFB #FB958F #BFFB8F #8FF5FB
split-complementary
#CB8FFB #F5FB8F #8FFB95
monochromatic
#9419F7 #B054F9 #CB8FFB #E6CAFD #F1E1FE

Accessibility & contrast

On white

2.37
#CB8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CB8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FFB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FFB#FFFFFF#000000##000000
##CB8FFB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#C5A0B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8ffb;
/* rgb */ color: rgb(203, 143, 251);
/* oklch */ color: oklch(75.0% 0.161 308.6);
Tailwind
colors: {
  custom: {
    50: '#dcb1fd',
    500: '#cb8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ffb;
$custom-light: #dcb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ffb",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 273.333,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74974,
    "c": 0.16132,
    "h": 308.6
  },
  "luminance": 0.39306
}

Semantic roles & 50–950 ramp

primary
#CB8FFB
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CB8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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