#CB6FEB#CB6FEB

#CB6FEB is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.3% C 0.195 H 316.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CB6FEB
RGBrgb(203, 111, 235)
HSLhsl(285, 76%, 68%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(13.6%, 52.8%, 0%, 7.8%)
CIE-LABlab(61.71, 55.62, -47.98)
CIE-LCHlch(61.71, 73.45, 319.22°)
OKLaboklab(69.32% 0.1418 -0.1336)
OKLCHoklch(69.32% 0.195 316.7)
XYZxyz(45.3062, 30.0651, 81.9977)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FEB #8FEB6F
analogous
#8D6FEB #CB6FEB #EB6FCD
triadic
#CB6FEB #EBCB6F #6FEBCB
tetradic
#CB6FEB #EB8D6F #8FEB6F #6FCDEB
square
#CB6FEB #EB8D6F #8FEB6F #6FCDEB
split-complementary
#CB6FEB #CDEB6F #6FEB8D
monochromatic
#991BC4 #B839E4 #CB6FEB #DEA5F2 #F2DAFA

Accessibility & contrast

On white

2.99
#CB6FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#CB6FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6FEB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FEB#FFFFFF#000000##000000
##CB6FEB1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#CA82A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6feb;
/* rgb */ color: rgb(203, 111, 235);
/* oklch */ color: oklch(69.3% 0.195 316.7);
Tailwind
colors: {
  custom: {
    50: '#dd9cf2',
    500: '#cb6feb',
    950: '#000000',
  },
}
SCSS
$custom: #cb6feb;
$custom-light: #dd9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6feb",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 284.516,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69324,
    "c": 0.19479,
    "h": 316.7
  },
  "luminance": 0.30064
}

Semantic roles & 50–950 ramp

primary
#CB6FEB
secondary
#D2EEC8
accent
#D80E42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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