#CB3EC5#CB3EC5

#CB3EC5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.229 H 329.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CB3EC5
RGBrgb(203, 62, 197)
HSLhsl(303, 58%, 52%)
HSVhsv(303, 69%, 80%)
CMYKcmyk(0%, 69.5%, 3%, 20.4%)
CIE-LABlab(52.04, 69.94, -41.77)
CIE-LCHlch(52.04, 81.47, 329.15°)
OKLaboklab(61.65% 0.1976 -0.1153)
OKLCHoklch(61.65% 0.229 329.7)
XYZxyz(36.4290, 20.1757, 54.7881)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3EC5 #3ECB44
analogous
#8B3ECB #CB3EC5 #CB3E7F
triadic
#CB3EC5 #C5CB3E #3EC5CB
tetradic
#CB3EC5 #CB8B3E #3ECB44 #3E7FCB
square
#CB3EC5 #CB8B3E #3ECB44 #3E7FCB
split-complementary
#CB3EC5 #7FCB3E #3ECB8B
monochromatic
#701E6D #A12B9C #CB3EC5 #D86ED3 #E59EE2

Accessibility & contrast

On white

4.17
#CB3EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CB3EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3EC5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3EC5#FFFFFF#000000##000000
##CB3EC51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E70C9
Deuteranopia (green-blind)
#6683C1
Tritanopia (blue-blind)
#D2507D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb3ec5;
/* rgb */ color: rgb(203, 62, 197);
/* oklch */ color: oklch(61.7% 0.229 329.7);
Tailwind
colors: {
  custom: {
    50: '#df80d7',
    500: '#cb3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ec5;
$custom-light: #df80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ec5",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 302.553,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.22876,
    "h": 329.7
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#CB3EC5
secondary
#94D196
accent
#E14E47
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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