#CB8FDA#CB8FDA

#CB8FDA is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.5% C 0.124 H 319.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CB8FDA
RGBrgb(203, 143, 218)
HSLhsl(288, 50%, 71%)
HSVhsv(288, 34%, 85%)
CMYKcmyk(6.9%, 34.4%, 0%, 14.5%)
CIE-LABlab(67.58, 35.42, -29.37)
CIE-LCHlch(67.58, 46.02, 320.33°)
OKLaboklab(73.47% 0.0939 -0.0803)
OKLCHoklch(73.47% 0.124 319.4)
XYZxyz(47.1043, 37.4047, 71.0546)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FDA #9EDA8F
analogous
#A58FDA #CB8FDA #DA8FC3
triadic
#CB8FDA #DACB8F #8FDACB
tetradic
#CB8FDA #DAA58F #9EDA8F #8FC3DA
square
#CB8FDA #DAA58F #9EDA8F #8FC3DA
split-complementary
#CB8FDA #C3DA8F #8FDAA5
monochromatic
#9B3BB3 #B661CB #CB8FDA #E0BDE9 #F4E8F7

Accessibility & contrast

On white

2.48
#CB8FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CB8FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FDA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FDA#FFFFFF#000000##000000
##CB8FDA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A0DD
Deuteranopia (green-blind)
#94A7D8
Tritanopia (blue-blind)
#CC98AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8fda;
/* rgb */ color: rgb(203, 143, 218);
/* oklch */ color: oklch(73.5% 0.124 319.4);
Tailwind
colors: {
  custom: {
    50: '#dcb0e5',
    500: '#cb8fda',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fda;
$custom-light: #dcb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fda",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 288,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73466,
    "c": 0.12356,
    "h": 319.4
  },
  "luminance": 0.37403
}

Semantic roles & 50–950 ramp

primary
#CB8FDA
secondary
#DCECD8
accent
#BE2846
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB8FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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