#CB8BFC#CB8BFC

#CB8BFC is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.4% C 0.169 H 308.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CB8BFC
RGBrgb(203, 139, 252)
HSLhsl(274, 95%, 77%)
HSVhsv(274, 45%, 99%)
CMYKcmyk(19.4%, 44.8%, 0%, 1.2%)
CIE-LABlab(68.16, 44.67, -47.16)
CIE-LCHlch(68.16, 64.96, 313.45°)
OKLaboklab(74.38% 0.1062 -0.1314)
OKLCHoklch(74.38% 0.169 308.9)
XYZxyz(51.4286, 38.1907, 96.7389)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BFC #BCFC8B
analogous
#938BFC #CB8BFC #FC8BF5
triadic
#CB8BFC #FCCB8B #8BFCCB
tetradic
#CB8BFC #FC938B #BCFC8B #8BF5FC
square
#CB8BFC #FC938B #BCFC8B #8BF5FC
split-complementary
#CB8BFC #F5FC8B #8BFC93
monochromatic
#9614F9 #B04FFA #CB8BFC #E6C7FE #F2E1FE

Accessibility & contrast

On white

2.43
#CB8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CB8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BFC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BFC#FFFFFF#000000##000000
##CB8BFC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#C59DB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8bfc;
/* rgb */ color: rgb(203, 139, 252);
/* oklch */ color: oklch(74.4% 0.169 308.9);
Tailwind
colors: {
  custom: {
    50: '#ddaefe',
    500: '#cb8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bfc;
$custom-light: #ddaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bfc",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 273.982,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7438,
    "c": 0.16894,
    "h": 308.9
  },
  "luminance": 0.3819
}

Semantic roles & 50–950 ramp

primary
#CB8BFC
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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