#CB8FFE#CB8FFE

#CB8FFE is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.1% C 0.165 H 307.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CB8FFE
RGBrgb(203, 143, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 44%, 100%)
CMYKcmyk(20.1%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.11, 42.97, -46.76)
CIE-LCHlch(69.11, 63.50, 312.58°)
OKLaboklab(75.12% 0.1011 -0.1302)
OKLCHoklch(75.12% 0.165 307.8)
XYZxyz(52.3370, 39.4978, 98.6134)
Luminance0.3950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FFE #C2FE8F
analogous
#938FFE #CB8FFE #FE8FFA
triadic
#CB8FFE #FECB8F #8FFECB
tetradic
#CB8FFE #FE938F #C2FE8F #8FFAFE
square
#CB8FFE #FE938F #C2FE8F #8FFAFE
split-complementary
#CB8FFE #FAFE8F #8FFE93
monochromatic
#9316FD #AF52FD #CB8FFE #E7CCFF #F1E1FF

Accessibility & contrast

On white

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

On black

8.90
#CB8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FFE
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FFE#FFFFFF#000000##000000
##CB8FFE1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#84A9FB
Tritanopia (blue-blind)
#C4A1BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb8ffe;
/* rgb */ color: rgb(203, 143, 254);
/* oklch */ color: oklch(75.1% 0.165 307.8);
Tailwind
colors: {
  custom: {
    50: '#ddb1ff',
    500: '#cb8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ffe;
$custom-light: #ddb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ffe",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 272.432,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75122,
    "c": 0.16484,
    "h": 307.8
  },
  "luminance": 0.39497
}

Semantic roles & 50–950 ramp

primary
#CB8FFE
secondary
#E4F7D4
accent
#E60069
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CB8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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