#CB23CB#CB23CB

#CB23CB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 60.1% C 0.258 H 328.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CB23CB
RGBrgb(203, 35, 203)
HSLhsl(300, 71%, 47%)
HSVhsv(300, 83%, 80%)
CMYKcmyk(0%, 82.8%, 0%, 20.4%)
CIE-LABlab(49.75, 78.37, -48.86)
CIE-LCHlch(49.75, 92.35, 328.06°)
OKLaboklab(60.13% 0.2189 -0.1357)
OKLCHoklch(60.13% 0.258 328.2)
XYZxyz(36.0087, 18.2132, 58.1073)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB23CB #23CB23
analogous
#7723CB #CB23CB #CB2377
triadic
#CB23CB #CBCB23 #23CBCB
tetradic
#CB23CB #CB7723 #23CB23 #2377CB
square
#CB23CB #CB7723 #23CB23 #2377CB
split-complementary
#CB23CB #77CB23 #23CB77
monochromatic
#631163 #971A97 #CB23CB #E04BE0 #E97FE9

Accessibility & contrast

On white

4.52
#CB23CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CB23CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB23CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB23CB#FFFFFF#000000##000000
##CB23CB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#587EC7
Tritanopia (blue-blind)
#D2447A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb23cb;
/* rgb */ color: rgb(203, 35, 203);
/* oklch */ color: oklch(60.1% 0.258 328.2);
Tailwind
colors: {
  custom: {
    50: '#df76db',
    500: '#cb23cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb23cb;
$custom-light: #df76db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb23cb",
  "rgb": {
    "r": 203,
    "g": 35,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 70.588,
    "l": 46.667
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.25753,
    "h": 328.2
  },
  "luminance": 0.1821
}

Semantic roles & 50–950 ramp

primary
#CB23CB
secondary
#78D178
accent
#ED3A3A
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CB23CB

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

Preview Lab → · Contrast checker → · Palette generator →

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