#CB62D8#CB62D8

#CB62D8 is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.6% C 0.196 H 323.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CB62D8
RGBrgb(203, 98, 216)
HSLhsl(293, 60%, 62%)
HSVhsv(293, 55%, 85%)
CMYKcmyk(6%, 54.6%, 0%, 15.3%)
CIE-LABlab(58.41, 58.26, -42.55)
CIE-LCHlch(58.41, 72.15, 323.86°)
OKLaboklab(66.59% 0.157 -0.1178)
OKLCHoklch(66.59% 0.196 323.1)
XYZxyz(41.3897, 26.3918, 67.8664)
Luminance0.2639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB62D8 #6FD862
analogous
#9062D8 #CB62D8 #D862AA
triadic
#CB62D8 #D8CB62 #62D8CB
tetradic
#CB62D8 #D89062 #6FD862 #62AAD8
square
#CB62D8 #D89062 #6FD862 #62AAD8
split-complementary
#CB62D8 #AAD862 #62D890
monochromatic
#8D2699 #BA32CA #CB62D8 #DB93E4 #EBC4F0

Accessibility & contrast

On white

3.35
#CB62D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CB62D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB62D8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB62D8#FFFFFF#000000##000000
##CB62D81.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DC
Deuteranopia (green-blind)
#7291D5
Tritanopia (blue-blind)
#CE7294
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb62d8;
/* rgb */ color: rgb(203, 98, 216);
/* oklch */ color: oklch(66.6% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#dd93e4',
    500: '#cb62d8',
    950: '#000000',
  },
}
SCSS
$custom: #cb62d8;
$custom-light: #dd93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb62d8",
  "rgb": {
    "r": 203,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 293.39,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66593,
    "c": 0.19625,
    "h": 323.1
  },
  "luminance": 0.2639
}

Semantic roles & 50–950 ramp

primary
#CB62D8
secondary
#BAE1B5
accent
#C81E30
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CB62D8

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

Preview Lab → · Contrast checker → · Palette generator →

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