#CB3FC2#CB3FC2

#CB3FC2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.225 H 330.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CB3FC2
RGBrgb(203, 63, 194)
HSLhsl(304, 57%, 52%)
HSVhsv(304, 69%, 80%)
CMYKcmyk(0%, 69%, 4.4%, 20.4%)
CIE-LABlab(52.01, 69.12, -40.09)
CIE-LCHlch(52.01, 79.90, 329.89°)
OKLaboklab(61.58% 0.1965 -0.1104)
OKLCHoklch(61.58% 0.225 330.7)
XYZxyz(36.1436, 20.1493, 53.0140)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3FC2 #3FCB48
analogous
#8E3FCB #CB3FC2 #CB3F7C
triadic
#CB3FC2 #C2CB3F #3FC2CB
tetradic
#CB3FC2 #CB8E3F #3FCB48 #3F7CCB
square
#CB3FC2 #CB8E3F #3FCB48 #3F7CCB
split-complementary
#CB3FC2 #7CCB3F #3FCB8E
monochromatic
#711F6C #A12C9A #CB3FC2 #D86FD1 #E59FE1

Accessibility & contrast

On white

4.18
#CB3FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3FC2#FFFFFF#000000##000000
##CB3FC21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb3fc2;
/* rgb */ color: rgb(203, 63, 194);
/* oklch */ color: oklch(61.6% 0.225 330.7);
Tailwind
colors: {
  custom: {
    50: '#df80d5',
    500: '#cb3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb3fc2;
$custom-light: #df80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3fc2",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 303.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.22535,
    "h": 330.7
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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