#CB62E7#CB62E7

#CB62E7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.4% C 0.210 H 318.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CB62E7
RGBrgb(203, 98, 231)
HSLhsl(287, 73%, 65%)
HSVhsv(287, 58%, 91%)
CMYKcmyk(12.1%, 57.6%, 0%, 9.4%)
CIE-LABlab(59.16, 61.10, -49.78)
CIE-LCHlch(59.16, 78.82, 320.83°)
OKLaboklab(67.39% 0.1581 -0.1388)
OKLCHoklch(67.39% 0.21 318.7)
XYZxyz(43.4182, 27.2032, 78.5495)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB62E7 #7EE762
analogous
#8862E7 #CB62E7 #E762C1
triadic
#CB62E7 #E7CB62 #62E7CB
tetradic
#CB62E7 #E78862 #7EE762 #62C1E7
square
#CB62E7 #E78862 #7EE762 #62C1E7
split-complementary
#CB62E7 #C1E762 #62E788
monochromatic
#931BB3 #B92DDF #CB62E7 #DD97EF #EECCF7

Accessibility & contrast

On white

3.26
#CB62E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CB62E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB62E7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB62E7#FFFFFF#000000##000000
##CB62E71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EB
Deuteranopia (green-blind)
#6992E4
Tritanopia (blue-blind)
#CB779C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb62e7;
/* rgb */ color: rgb(203, 98, 231);
/* oklch */ color: oklch(67.4% 0.210 318.7);
Tailwind
colors: {
  custom: {
    50: '#de94ef',
    500: '#cb62e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb62e7;
$custom-light: #de94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb62e7",
  "rgb": {
    "r": 203,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 287.368,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6739,
    "c": 0.21035,
    "h": 318.7
  },
  "luminance": 0.27201
}

Semantic roles & 50–950 ramp

primary
#CB62E7
secondary
#C5E9BB
accent
#D6103A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CB62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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