#CB8CFD#CB8CFD

#CB8CFD is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.6% C 0.169 H 308.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CB8CFD
RGBrgb(203, 140, 253)
HSLhsl(273, 97%, 77%)
HSVhsv(273, 45%, 99%)
CMYKcmyk(19.8%, 44.7%, 0%, 0.8%)
CIE-LABlab(68.42, 44.36, -47.30)
CIE-LCHlch(68.42, 64.84, 313.16°)
OKLaboklab(74.59% 0.105 -0.1318)
OKLCHoklch(74.59% 0.169 308.5)
XYZxyz(51.7329, 38.5452, 97.6241)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CFD #BEFD8C
analogous
#938CFD #CB8CFD #FD8CF7
triadic
#CB8CFD #FDCB8C #8CFDCB
tetradic
#CB8CFD #FD938C #BEFD8C #8CF7FD
square
#CB8CFD #FD938C #BEFD8C #8CF7FD
split-complementary
#CB8CFD #F7FD8C #8CFD93
monochromatic
#9514FB #B050FC #CB8CFD #E6C8FE #F1E1FE

Accessibility & contrast

On white

2.41
#CB8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CB8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CFD
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CFD#FFFFFF#000000##000000
##CB8CFD1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#C49EB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8cfd;
/* rgb */ color: rgb(203, 140, 253);
/* oklch */ color: oklch(74.6% 0.169 308.5);
Tailwind
colors: {
  custom: {
    50: '#ddaffe',
    500: '#cb8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cb8cfd;
$custom-light: #ddaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8cfd",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 273.451,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7459,
    "c": 0.1685,
    "h": 308.5
  },
  "luminance": 0.38545
}

Semantic roles & 50–950 ramp

primary
#CB8CFD
secondary
#E4F7D4
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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