#CB8FFF#CB8FFF

#CB8FFF is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.2% C 0.166 H 307.6°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CB8FFF
RGBrgb(203, 143, 255)
HSLhsl(272, 100%, 78%)
HSVhsv(272, 44%, 100%)
CMYKcmyk(20.4%, 43.9%, 0%, 0%)
CIE-LABlab(69.16, 43.19, -47.23)
CIE-LCHlch(69.16, 64.00, 312.44°)
OKLaboklab(75.17% 0.1012 -0.1316)
OKLCHoklch(75.17% 0.166 307.6)
XYZxyz(52.4975, 39.5620, 99.4590)
Luminance0.3956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FFF #C3FF8F
analogous
#938FFF #CB8FFF #FF8FFB
triadic
#CB8FFF #FFCB8F #8FFFCB
tetradic
#CB8FFF #FF938F #C3FF8F #8FFBFF
square
#CB8FFF #FF938F #C3FF8F #8FFBFF
split-complementary
#CB8FFF #FBFF8F #8FFF93
monochromatic
#9215FF #AF52FF #CB8FFF #E7CCFF #F1E0FF

Accessibility & contrast

On white

2.36
#CB8FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CB8FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FFF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FFF#FFFFFF#000000##000000
##CB8FFF1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#83AAFC
Tritanopia (blue-blind)
#C4A1BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb8fff;
/* rgb */ color: rgb(203, 143, 255);
/* oklch */ color: oklch(75.2% 0.166 307.6);
Tailwind
colors: {
  custom: {
    50: '#ddb1ff',
    500: '#cb8fff',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fff;
$custom-light: #ddb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fff",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 255
  },
  "hsl": {
    "h": 272.143,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.16602,
    "h": 307.6
  },
  "luminance": 0.39561
}

Semantic roles & 50–950 ramp

primary
#CB8FFF
secondary
#E4F7D4
accent
#E6006B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CB8FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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