#CB2DE2#CB2DE2

#CB2DE2 is a light, highly saturated purple. Relative luminance 0.201; OKLCH L 62.1% C 0.267 H 322.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB2DE2
RGBrgb(203, 45, 226)
HSLhsl(292, 76%, 53%)
HSVhsv(292, 80%, 89%)
CMYKcmyk(10.2%, 80.1%, 0%, 11.4%)
CIE-LABlab(51.91, 79.75, -58.54)
CIE-LCHlch(51.91, 98.93, 323.72°)
OKLaboklab(62.1% 0.2105 -0.164)
OKLCHoklch(62.1% 0.267 322.1)
XYZxyz(39.2930, 20.0666, 73.7404)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2DE2 #44E22D
analogous
#712DE2 #CB2DE2 #E22D9E
triadic
#CB2DE2 #E2CB2D #2DE2CB
tetradic
#CB2DE2 #E2712D #44E22D #2D9EE2
square
#CB2DE2 #E2712D #44E22D #2D9EE2
split-complementary
#CB2DE2 #9EE22D #2DE271
monochromatic
#741283 #A419B8 #CB2DE2 #D863E9 #E699F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB2DE2#FFFFFF#000000##000000
##CB2DE21.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)
#0071E7
Deuteranopia (green-blind)
#4A81DE
Tritanopia (blue-blind)
#CD5589
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb2de2;
/* rgb */ color: rgb(203, 45, 226);
/* oklch */ color: oklch(62.1% 0.267 322.1);
Tailwind
colors: {
  custom: {
    50: '#e07aec',
    500: '#cb2de2',
    950: '#000000',
  },
}
SCSS
$custom: #cb2de2;
$custom-light: #e07aec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2de2",
  "rgb": {
    "r": 203,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 292.376,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.26684,
    "h": 322.1
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#CB2DE2
secondary
#98DC8E
accent
#F2354D
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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