#CB3EC6#CB3EC6

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

Color values

HEX#CB3EC6
RGBrgb(203, 62, 198)
HSLhsl(302, 58%, 52%)
HSVhsv(302, 69%, 80%)
CMYKcmyk(0%, 69.5%, 2.5%, 20.4%)
CIE-LABlab(52.09, 70.10, -42.27)
CIE-LCHlch(52.09, 81.86, 328.91°)
OKLaboklab(61.71% 0.1976 -0.1167)
OKLCHoklch(61.71% 0.23 329.4)
XYZxyz(36.5440, 20.2217, 55.3936)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3EC6 #3ECB43
analogous
#8A3ECB #CB3EC6 #CB3E7F
triadic
#CB3EC6 #C6CB3E #3EC6CB
tetradic
#CB3EC6 #CB8A3E #3ECB43 #3E7FCB
square
#CB3EC6 #CB8A3E #3ECB43 #3E7FCB
split-complementary
#CB3EC6 #7FCB3E #3ECB8A
monochromatic
#701E6D #A12B9C #CB3EC6 #D86ED4 #E59EE2

Accessibility & contrast

On white

4.16
#CB3EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CB3EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3EC6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3EC6#FFFFFF#000000##000000
##CB3EC61.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D70CA
Deuteranopia (green-blind)
#6683C2
Tritanopia (blue-blind)
#D2517E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb3ec6;
/* rgb */ color: rgb(203, 62, 198);
/* oklch */ color: oklch(61.7% 0.230 329.4);
Tailwind
colors: {
  custom: {
    50: '#df80d8',
    500: '#cb3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ec6;
$custom-light: #df80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ec6",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 302.128,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.22951,
    "h": 329.4
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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