#CB8EFF#CB8EFF

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

Color values

HEX#CB8EFF
RGBrgb(203, 142, 255)
HSLhsl(272, 100%, 78%)
HSVhsv(272, 44%, 100%)
CMYKcmyk(20.4%, 44.3%, 0%, 0%)
CIE-LABlab(68.94, 43.72, -47.57)
CIE-LCHlch(68.94, 64.61, 312.59°)
OKLaboklab(75.01% 0.1026 -0.1326)
OKLCHoklch(75.01% 0.168 307.7)
XYZxyz(52.3481, 39.2631, 99.4092)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EFF #C2FF8E
analogous
#928EFF #CB8EFF #FF8EFB
triadic
#CB8EFF #FFCB8E #8EFFCB
tetradic
#CB8EFF #FF928E #C2FF8E #8EFBFF
square
#CB8EFF #FF928E #C2FF8E #8EFBFF
split-complementary
#CB8EFF #FBFF8E #8EFF92
monochromatic
#9314FF #AF51FF #CB8EFF #E7CBFF #F1E0FF

Accessibility & contrast

On white

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

On black

8.85
#CB8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EFF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EFF#FFFFFF#000000##000000
##CB8EFF1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#C4A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8eff;
/* rgb */ color: rgb(203, 142, 255);
/* oklch */ color: oklch(75.0% 0.168 307.7);
Tailwind
colors: {
  custom: {
    50: '#ddb0ff',
    500: '#cb8eff',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eff;
$custom-light: #ddb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eff",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 272.389,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7501,
    "c": 0.16762,
    "h": 307.7
  },
  "luminance": 0.39263
}

Semantic roles & 50–950 ramp

primary
#CB8EFF
secondary
#E4F7D4
accent
#E6006A
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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