#CB42E0#CB42E0

#CB42E0 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.5% C 0.245 H 322.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CB42E0
RGBrgb(203, 66, 224)
HSLhsl(292, 72%, 57%)
HSVhsv(292, 71%, 88%)
CMYKcmyk(9.4%, 70.5%, 0%, 12.2%)
CIE-LABlab(54.00, 73.05, -54.06)
CIE-LCHlch(54.00, 90.88, 323.50°)
OKLaboklab(63.54% 0.1935 -0.151)
OKLCHoklch(63.54% 0.246 322)
XYZxyz(40.0299, 21.9770, 72.6401)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42E0 #57E042
analogous
#7C42E0 #CB42E0 #E042A6
triadic
#CB42E0 #E0CB42 #42E0CB
tetradic
#CB42E0 #E07C42 #57E042 #42A6E0
square
#CB42E0 #E07C42 #57E042 #42A6E0
split-complementary
#CB42E0 #A6E042 #42E07C
monochromatic
#801890 #AF20C5 #CB42E0 #D977E9 #E8ABF1

Accessibility & contrast

On white

3.89
#CB42E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CB42E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB42E0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB42E0#FFFFFF#000000##000000
##CB42E01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#CD5F8D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb42e0;
/* rgb */ color: rgb(203, 66, 224);
/* oklch */ color: oklch(63.5% 0.245 322.0);
Tailwind
colors: {
  custom: {
    50: '#df82ea',
    500: '#cb42e0',
    950: '#000000',
  },
}
SCSS
$custom: #cb42e0;
$custom-light: #df82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42e0",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 292.025,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6354,
    "c": 0.2455,
    "h": 322
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#CB42E0
secondary
#A7DF9F
accent
#EF3951
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB42E0

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

Preview Lab → · Contrast checker → · Palette generator →

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