#CB8CED#CB8CED

#CB8CED is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.8% C 0.150 H 313.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CB8CED
RGBrgb(203, 140, 237)
HSLhsl(279, 73%, 74%)
HSVhsv(279, 41%, 93%)
CMYKcmyk(14.3%, 40.9%, 0%, 7.1%)
CIE-LABlab(67.70, 40.93, -39.67)
CIE-LCHlch(67.70, 57.00, 315.90°)
OKLaboklab(73.82% 0.1023 -0.1097)
OKLCHoklch(73.82% 0.15 313)
XYZxyz(49.2902, 37.5681, 84.7592)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8CED #AEED8C
analogous
#9B8CED #CB8CED #ED8CDF
triadic
#CB8CED #EDCB8C #8CEDCB
tetradic
#CB8CED #ED9B8C #AEED8C #8CDFED
square
#CB8CED #ED9B8C #AEED8C #8CDFED
split-complementary
#CB8CED #DFED8C #8CED9B
monochromatic
#9B22DC #B357E5 #CB8CED #E3C1F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.51
#CB8CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8CED
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8CED#FFFFFF#000000##000000
##CB8CED1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F1
Deuteranopia (green-blind)
#89A6EA
Tritanopia (blue-blind)
#C89AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8ced;
/* rgb */ color: rgb(203, 140, 237);
/* oklch */ color: oklch(73.8% 0.150 313.0);
Tailwind
colors: {
  custom: {
    50: '#dcaff3',
    500: '#cb8ced',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ced;
$custom-light: #dcaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ced",
  "rgb": {
    "r": 203,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 278.969,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73815,
    "c": 0.15005,
    "h": 313
  },
  "luminance": 0.37567
}

Semantic roles & 50–950 ramp

primary
#CB8CED
secondary
#E2F3D8
accent
#D51055
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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