#CB6FEC#CB6FEC

#CB6FEC is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.4% C 0.196 H 316.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CB6FEC
RGBrgb(203, 111, 236)
HSLhsl(284, 77%, 68%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(14%, 53%, 0%, 7.5%)
CIE-LABlab(61.76, 55.82, -48.45)
CIE-LCHlch(61.76, 73.92, 319.04°)
OKLaboklab(69.38% 0.1418 -0.135)
OKLCHoklch(69.38% 0.196 316.4)
XYZxyz(45.4511, 30.1230, 82.7607)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FEC #90EC6F
analogous
#8C6FEC #CB6FEC #EC6FCE
triadic
#CB6FEC #ECCB6F #6FECCB
tetradic
#CB6FEC #EC8C6F #90EC6F #6FCEEC
square
#CB6FEC #EC8C6F #90EC6F #6FCEEC
split-complementary
#CB6FEC #CEEC6F #6FEC8C
monochromatic
#991AC6 #B739E5 #CB6FEC #DFA5F3 #F2DBFA

Accessibility & contrast

On white

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

On black

7.02
#CB6FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6FEC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FEC#FFFFFF#000000##000000
##CB6FEC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#CA82A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6fec;
/* rgb */ color: rgb(203, 111, 236);
/* oklch */ color: oklch(69.4% 0.196 316.4);
Tailwind
colors: {
  custom: {
    50: '#dd9cf2',
    500: '#cb6fec',
    950: '#000000',
  },
}
SCSS
$custom: #cb6fec;
$custom-light: #dd9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6fec",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 284.16,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69377,
    "c": 0.19581,
    "h": 316.4
  },
  "luminance": 0.30122
}

Semantic roles & 50–950 ramp

primary
#CB6FEC
secondary
#D2EFC8
accent
#D90D43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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