#CB6CF8#CB6CF8

#CB6CF8 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.6% C 0.212 H 313.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CB6CF8
RGBrgb(203, 108, 248)
HSLhsl(281, 91%, 70%)
HSVhsv(281, 56%, 97%)
CMYKcmyk(18.1%, 56.5%, 0%, 2.7%)
CIE-LABlab(61.83, 59.74, -54.99)
CIE-LCHlch(61.83, 81.20, 317.37°)
OKLaboklab(69.63% 0.1464 -0.154)
OKLCHoklch(69.63% 0.213 313.5)
XYZxyz(46.9316, 30.2002, 92.1457)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6CF8 #99F86C
analogous
#856CF8 #CB6CF8 #F86CDF
triadic
#CB6CF8 #F8CB6C #6CF8CB
tetradic
#CB6CF8 #F8856C #99F86C #6CDFF8
square
#CB6CF8 #F8856C #99F86C #6CDFF8
split-complementary
#CB6CF8 #DFF86C #6CF885
monochromatic
#9B0BDF #B632F5 #CB6CF8 #E0A6FB #F4E1FE

Accessibility & contrast

On white

2.98
#CB6CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CB6CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6CF8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6CF8#FFFFFF#000000##000000
##CB6CF81.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FD
Deuteranopia (green-blind)
#6798F4
Tritanopia (blue-blind)
#C784A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6cf8;
/* rgb */ color: rgb(203, 108, 248);
/* oklch */ color: oklch(69.6% 0.212 313.5);
Tailwind
colors: {
  custom: {
    50: '#de9afb',
    500: '#cb6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cb6cf8;
$custom-light: #de9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6cf8",
  "rgb": {
    "r": 203,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 280.714,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69627,
    "c": 0.2125,
    "h": 313.5
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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