#CB3EC2#CB3EC2

#CB3EC2 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.5% C 0.227 H 330.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB3EC2
RGBrgb(203, 62, 194)
HSLhsl(304, 58%, 52%)
HSVhsv(304, 69%, 80%)
CMYKcmyk(0%, 69.5%, 4.4%, 20.4%)
CIE-LABlab(51.88, 69.47, -40.28)
CIE-LCHlch(51.88, 80.30, 329.89°)
OKLaboklab(61.49% 0.1975 -0.111)
OKLCHoklch(61.49% 0.227 330.7)
XYZxyz(36.0887, 20.0396, 52.9958)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3EC2 #3ECB47
analogous
#8E3ECB #CB3EC2 #CB3E7C
triadic
#CB3EC2 #C2CB3E #3EC2CB
tetradic
#CB3EC2 #CB8E3E #3ECB47 #3E7CCB
square
#CB3EC2 #CB8E3E #3ECB47 #3E7CCB
split-complementary
#CB3EC2 #7CCB3E #3ECB8E
monochromatic
#701E6B #A12B99 #CB3EC2 #D86ED1 #E59EE0

Accessibility & contrast

On white

4.19
#CB3EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB3EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3EC2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3EC2#FFFFFF#000000##000000
##CB3EC21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#6883BE
Tritanopia (blue-blind)
#D34F7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb3ec2;
/* rgb */ color: rgb(203, 62, 194);
/* oklch */ color: oklch(61.5% 0.227 330.7);
Tailwind
colors: {
  custom: {
    50: '#df80d5',
    500: '#cb3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ec2;
$custom-light: #df80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ec2",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 303.83,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.22651,
    "h": 330.7
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#CB3EC2
secondary
#94D197
accent
#E15147
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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