#CB6FEF#CB6FEF

#CB6FEF is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.199 H 315.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CB6FEF
RGBrgb(203, 111, 239)
HSLhsl(283, 80%, 69%)
HSVhsv(283, 54%, 94%)
CMYKcmyk(15.1%, 53.6%, 0%, 6.3%)
CIE-LABlab(61.91, 56.43, -49.88)
CIE-LCHlch(61.91, 75.31, 318.52°)
OKLaboklab(69.54% 0.1421 -0.1391)
OKLCHoklch(69.54% 0.199 315.6)
XYZxyz(45.8906, 30.2988, 85.0755)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FEF #93EF6F
analogous
#8B6FEF #CB6FEF #EF6FD3
triadic
#CB6FEF #EFCB6F #6FEFCB
tetradic
#CB6FEF #EF8B6F #93EF6F #6FD3EF
square
#CB6FEF #EF8B6F #93EF6F #6FD3EF
split-complementary
#CB6FEF #D3EF6F #6FEF8B
monochromatic
#9A17CD #B738E9 #CB6FEF #DFA6F5 #F3DDFB

Accessibility & contrast

On white

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

On black

7.06
#CB6FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6FEF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FEF#FFFFFF#000000##000000
##CB6FEF1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#C983A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb6fef;
/* rgb */ color: rgb(203, 111, 239);
/* oklch */ color: oklch(69.5% 0.199 315.6);
Tailwind
colors: {
  custom: {
    50: '#dd9cf5',
    500: '#cb6fef',
    950: '#000000',
  },
}
SCSS
$custom: #cb6fef;
$custom-light: #dd9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6fef",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 283.125,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69538,
    "c": 0.19886,
    "h": 315.6
  },
  "luminance": 0.30297
}

Semantic roles & 50–950 ramp

primary
#CB6FEF
secondary
#D5F0CA
accent
#DC0945
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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