#CB8CFB#CB8CFB

#CB8CFB is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.5% C 0.166 H 309.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CB8CFB
RGBrgb(203, 140, 251)
HSLhsl(274, 93%, 77%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(19.1%, 44.2%, 0%, 1.6%)
CIE-LABlab(68.33, 43.92, -46.36)
CIE-LCHlch(68.33, 63.86, 313.45°)
OKLaboklab(74.49% 0.1047 -0.129)
OKLCHoklch(74.49% 0.166 309.1)
XYZxyz(51.4160, 38.4184, 95.9550)
Luminance0.3842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CFB #BCFB8C
analogous
#948CFB #CB8CFB #FB8CF4
triadic
#CB8CFB #FBCB8C #8CFBCB
tetradic
#CB8CFB #FB948C #BCFB8C #8CF4FB
square
#CB8CFB #FB948C #BCFB8C #8CF4FB
split-complementary
#CB8CFB #F4FB8C #8CFB94
monochromatic
#9616F7 #B051F9 #CB8CFB #E6C7FD #F2E1FE

Accessibility & contrast

On white

2.42
#CB8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#CB8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CFB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CFB#FFFFFF#000000##000000
##CB8CFB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb8cfb;
/* rgb */ color: rgb(203, 140, 251);
/* oklch */ color: oklch(74.5% 0.166 309.1);
Tailwind
colors: {
  custom: {
    50: '#ddaffd',
    500: '#cb8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8cfb;
$custom-light: #ddaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8cfb",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 274.054,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7449,
    "c": 0.16617,
    "h": 309.1
  },
  "luminance": 0.38418
}

Semantic roles & 50–950 ramp

primary
#CB8CFB
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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