#CB6BEB#CB6BEB

#CB6BEB is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 68.8% C 0.201 H 317.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CB6BEB
RGBrgb(203, 107, 235)
HSLhsl(285, 76%, 67%)
HSVhsv(285, 54%, 92%)
CMYKcmyk(13.6%, 54.5%, 0%, 7.8%)
CIE-LABlab(60.97, 57.59, -49.15)
CIE-LCHlch(60.97, 75.71, 319.52°)
OKLaboklab(68.78% 0.147 -0.137)
OKLCHoklch(68.78% 0.201 317)
XYZxyz(44.8795, 29.2116, 81.8555)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6BEB #8BEB6B
analogous
#8B6BEB #CB6BEB #EB6BCB
triadic
#CB6BEB #EBCB6B #6BEBCB
tetradic
#CB6BEB #EB8B6B #8BEB6B #6BCBEB
square
#CB6BEB #EB8B6B #8BEB6B #6BCBEB
split-complementary
#CB6BEB #CBEB6B #6BEB8B
monochromatic
#981AC1 #B835E4 #CB6BEB #DEA1F2 #F1D7FA

Accessibility & contrast

On white

3.07
#CB6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CB6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6BEB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6BEB#FFFFFF#000000##000000
##CB6BEB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#CA7FA1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cb6beb;
/* rgb */ color: rgb(203, 107, 235);
/* oklch */ color: oklch(68.8% 0.201 317.0);
Tailwind
colors: {
  custom: {
    50: '#dd99f2',
    500: '#cb6beb',
    950: '#000000',
  },
}
SCSS
$custom: #cb6beb;
$custom-light: #dd99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6beb",
  "rgb": {
    "r": 203,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 285,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68779,
    "c": 0.2009,
    "h": 317
  },
  "luminance": 0.2921
}

Semantic roles & 50–950 ramp

primary
#CB6BEB
secondary
#CFEDC5
accent
#D80D40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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