#CB8BED#CB8BED

#CB8BED is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.7% C 0.152 H 313.1°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CB8BED
RGBrgb(203, 139, 237)
HSLhsl(279, 73%, 74%)
HSVhsv(279, 41%, 93%)
CMYKcmyk(14.3%, 41.4%, 0%, 7.1%)
CIE-LABlab(67.48, 41.47, -40.01)
CIE-LCHlch(67.48, 57.62, 316.03°)
OKLaboklab(73.65% 0.1037 -0.1107)
OKLCHoklch(73.65% 0.152 313.1)
XYZxyz(49.1447, 37.2772, 84.7107)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BED #ADED8B
analogous
#9A8BED #CB8BED #ED8BDE
triadic
#CB8BED #EDCB8B #8BEDCB
tetradic
#CB8BED #ED9A8B #ADED8B #8BDEED
square
#CB8BED #ED9A8B #ADED8B #8BDEED
split-complementary
#CB8BED #DEED8B #8BED9A
monochromatic
#9B22DC #B356E5 #CB8BED #E3C0F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.46
#CB8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BED
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BED#FFFFFF#000000##000000
##CB8BED1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#89A6EA
Tritanopia (blue-blind)
#C899B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8bed;
/* rgb */ color: rgb(203, 139, 237);
/* oklch */ color: oklch(73.7% 0.152 313.1);
Tailwind
colors: {
  custom: {
    50: '#dcaef3',
    500: '#cb8bed',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bed;
$custom-light: #dcaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bed",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 279.184,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73652,
    "c": 0.15172,
    "h": 313.1
  },
  "luminance": 0.37276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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