#CB45CB#CB45CB

#CB45CB is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.225 H 327.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB45CB
RGBrgb(203, 69, 203)
HSLhsl(300, 56%, 53%)
HSVhsv(300, 66%, 80%)
CMYKcmyk(0%, 66%, 0%, 20.4%)
CIE-LABlab(53.24, 68.39, -43.32)
CIE-LCHlch(53.24, 80.95, 327.65°)
OKLaboklab(62.62% 0.1906 -0.1198)
OKLCHoklch(62.62% 0.225 327.9)
XYZxyz(37.5357, 21.2671, 58.6163)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45CB #45CB45
analogous
#8845CB #CB45CB #CB4588
triadic
#CB45CB #CBCB45 #45CBCB
tetradic
#CB45CB #CB8845 #45CB45 #4588CB
square
#CB45CB #CB8845 #45CB45 #4588CB
split-complementary
#CB45CB #88CB45 #45CB88
monochromatic
#752175 #A52EA5 #CB45CB #D875D8 #E6A5E6

Accessibility & contrast

On white

4.00
#CB45CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB45CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45CB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45CB#FFFFFF#000000##000000
##CB45CB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#6785C7
Tritanopia (blue-blind)
#D15883
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb45cb;
/* rgb */ color: rgb(203, 69, 203);
/* oklch */ color: oklch(62.6% 0.225 327.9);
Tailwind
colors: {
  custom: {
    50: '#de83db',
    500: '#cb45cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb45cb;
$custom-light: #de83db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45cb",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62623,
    "c": 0.22514,
    "h": 327.9
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#CB45CB
secondary
#99D399
accent
#E04848
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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