#CB8DFB#CB8DFB

#CB8DFB is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.7% C 0.165 H 308.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CB8DFB
RGBrgb(203, 141, 251)
HSLhsl(274, 93%, 77%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(19.1%, 43.8%, 0%, 1.6%)
CIE-LABlab(68.54, 43.38, -46.02)
CIE-LCHlch(68.54, 63.24, 313.31°)
OKLaboklab(74.65% 0.1033 -0.1281)
OKLCHoklch(74.65% 0.165 308.9)
XYZxyz(51.5628, 38.7120, 96.0039)
Luminance0.3871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8DFB #BDFB8D
analogous
#948DFB #CB8DFB #FB8DF4
triadic
#CB8DFB #FBCB8D #8DFBCB
tetradic
#CB8DFB #FB948D #BDFB8D #8DF4FB
square
#CB8DFB #FB948D #BDFB8D #8DF4FB
split-complementary
#CB8DFB #F4FB8D #8DFB94
monochromatic
#9517F7 #B052F9 #CB8DFB #E6C8FD #F2E1FE

Accessibility & contrast

On white

2.40
#CB8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CB8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8DFB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8DFB#FFFFFF#000000##000000
##CB8DFB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#C59EB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8dfb;
/* rgb */ color: rgb(203, 141, 251);
/* oklch */ color: oklch(74.7% 0.165 308.9);
Tailwind
colors: {
  custom: {
    50: '#ddaffd',
    500: '#cb8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8dfb;
$custom-light: #ddaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8dfb",
  "rgb": {
    "r": 203,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 273.818,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74651,
    "c": 0.16456,
    "h": 308.9
  },
  "luminance": 0.38711
}

Semantic roles & 50–950 ramp

primary
#CB8DFB
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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