#CB6DF8#CB6DF8

#CB6DF8 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.211 H 313.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CB6DF8
RGBrgb(203, 109, 248)
HSLhsl(281, 91%, 70%)
HSVhsv(281, 56%, 97%)
CMYKcmyk(18.1%, 56%, 0%, 2.7%)
CIE-LABlab(62.01, 59.25, -54.70)
CIE-LCHlch(62.01, 80.64, 317.28°)
OKLaboklab(69.76% 0.1452 -0.1532)
OKLCHoklch(69.76% 0.211 313.5)
XYZxyz(47.0377, 30.4124, 92.1811)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6DF8 #9AF86D
analogous
#866DF8 #CB6DF8 #F86DDF
triadic
#CB6DF8 #F8CB6D #6DF8CB
tetradic
#CB6DF8 #F8866D #9AF86D #6DDFF8
square
#CB6DF8 #F8866D #9AF86D #6DDFF8
split-complementary
#CB6DF8 #DFF86D #6DF886
monochromatic
#9B0BE0 #B633F5 #CB6DF8 #E0A7FB #F5E2FE

Accessibility & contrast

On white

2.97
#CB6DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CB6DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6DF8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6DF8#FFFFFF#000000##000000
##CB6DF81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#C785A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb6df8;
/* rgb */ color: rgb(203, 109, 248);
/* oklch */ color: oklch(69.8% 0.211 313.5);
Tailwind
colors: {
  custom: {
    50: '#de9bfb',
    500: '#cb6df8',
    950: '#000000',
  },
}
SCSS
$custom: #cb6df8;
$custom-light: #de9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6df8",
  "rgb": {
    "r": 203,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 280.576,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.21104,
    "h": 313.5
  },
  "luminance": 0.30411
}

Semantic roles & 50–950 ramp

primary
#CB6DF8
secondary
#DAF4CD
accent
#E6004A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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