#CB8EED#CB8EED

#CB8EED is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.1% C 0.147 H 312.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CB8EED
RGBrgb(203, 142, 237)
HSLhsl(279, 73%, 74%)
HSVhsv(279, 40%, 93%)
CMYKcmyk(14.3%, 40.1%, 0%, 7.1%)
CIE-LABlab(68.14, 39.85, -38.99)
CIE-LCHlch(68.14, 55.75, 315.63°)
OKLaboklab(74.14% 0.0995 -0.1078)
OKLCHoklch(74.14% 0.147 312.7)
XYZxyz(49.5851, 38.1579, 84.8575)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EED #B0ED8E
analogous
#9C8EED #CB8EED #ED8EE0
triadic
#CB8EED #EDCB8E #8EEDCB
tetradic
#CB8EED #ED9C8E #B0ED8E #8EE0ED
square
#CB8EED #ED9C8E #B0ED8E #8EE0ED
split-complementary
#CB8EED #E0ED8E #8EED9C
monochromatic
#9A24DC #B359E5 #CB8EED #E3C3F5 #F3E5FB

Accessibility & contrast

On white

2.43
#CB8EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CB8EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EED
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EED#FFFFFF#000000##000000
##CB8EED1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#8BA8EA
Tritanopia (blue-blind)
#C89BB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8eed;
/* rgb */ color: rgb(203, 142, 237);
/* oklch */ color: oklch(74.1% 0.147 312.7);
Tailwind
colors: {
  custom: {
    50: '#dcb0f3',
    500: '#cb8eed',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eed;
$custom-light: #dcb0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eed",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 278.526,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74142,
    "c": 0.14669,
    "h": 312.7
  },
  "luminance": 0.38157
}

Semantic roles & 50–950 ramp

primary
#CB8EED
secondary
#E2F2D9
accent
#D51157
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EED

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

Preview Lab → · Contrast checker → · Palette generator →

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