#CB8FDC#CB8FDC

#CB8FDC is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.6% C 0.126 H 318.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CB8FDC
RGBrgb(203, 143, 220)
HSLhsl(287, 52%, 71%)
HSVhsv(287, 35%, 86%)
CMYKcmyk(7.7%, 35%, 0%, 13.7%)
CIE-LABlab(67.66, 35.82, -30.36)
CIE-LCHlch(67.66, 46.96, 319.72°)
OKLaboklab(73.55% 0.0944 -0.0831)
OKLCHoklch(73.55% 0.126 318.6)
XYZxyz(47.3676, 37.5100, 72.4412)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FDC #A0DC8F
analogous
#A48FDC #CB8FDC #DC8FC6
triadic
#CB8FDC #DCCB8F #8FDCCB
tetradic
#CB8FDC #DCA48F #A0DC8F #8FC6DC
square
#CB8FDC #DCA48F #A0DC8F #8FC6DC
split-complementary
#CB8FDC #C6DC8F #8FDCA4
monochromatic
#9B39B7 #B560CD #CB8FDC #E1BEEB #F4E8F8

Accessibility & contrast

On white

2.47
#CB8FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CB8FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FDC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FDC#FFFFFF#000000##000000
##CB8FDC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DF
Deuteranopia (green-blind)
#93A7DA
Tritanopia (blue-blind)
#CC98AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8fdc;
/* rgb */ color: rgb(203, 143, 220);
/* oklch */ color: oklch(73.6% 0.126 318.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0e7',
    500: '#cb8fdc',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fdc;
$custom-light: #dcb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fdc",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 286.753,
    "s": 52.381,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73551,
    "c": 0.12576,
    "h": 318.6
  },
  "luminance": 0.37509
}

Semantic roles & 50–950 ramp

primary
#CB8FDC
secondary
#DEEED9
accent
#C02648
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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