#CB6FE2#CB6FE2

#CB6FE2 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.9% C 0.186 H 319.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CB6FE2
RGBrgb(203, 111, 226)
HSLhsl(288, 66%, 66%)
HSVhsv(288, 51%, 89%)
CMYKcmyk(10.2%, 50.9%, 0%, 11.4%)
CIE-LABlab(61.27, 53.84, -43.66)
CIE-LCHlch(61.27, 69.31, 320.96°)
OKLaboklab(68.86% 0.1408 -0.1211)
OKLCHoklch(68.86% 0.186 319.3)
XYZxyz(44.0387, 29.5581, 75.3223)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FE2 #86E26F
analogous
#916FE2 #CB6FE2 #E26FBF
triadic
#CB6FE2 #E2CB6F #6FE2CB
tetradic
#CB6FE2 #E2916F #86E26F #6FBFE2
square
#CB6FE2 #E2916F #86E26F #6FBFE2
split-complementary
#CB6FE2 #BFE26F #6FE291
monochromatic
#9624B3 #B93CD8 #CB6FE2 #DDA2EC #F0D5F7

Accessibility & contrast

On white

3.04
#CB6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CB6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6FE2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FE2#FFFFFF#000000##000000
##CB6FE21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#CC7F9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb6fe2;
/* rgb */ color: rgb(203, 111, 226);
/* oklch */ color: oklch(68.9% 0.186 319.3);
Tailwind
colors: {
  custom: {
    50: '#dd9beb',
    500: '#cb6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cb6fe2;
$custom-light: #dd9beb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6fe2",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 288,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68858,
    "c": 0.18573,
    "h": 319.3
  },
  "luminance": 0.29556
}

Semantic roles & 50–950 ramp

primary
#CB6FE2
secondary
#CBE9C4
accent
#CE173C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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