#CB45E2#CB45E2

#CB45E2 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.9% C 0.244 H 321.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CB45E2
RGBrgb(203, 69, 226)
HSLhsl(291, 73%, 58%)
HSVhsv(291, 69%, 89%)
CMYKcmyk(10.2%, 69.5%, 0%, 11.4%)
CIE-LABlab(54.50, 72.33, -54.40)
CIE-LCHlch(54.50, 90.51, 323.05°)
OKLaboklab(63.93% 0.1905 -0.1521)
OKLCHoklch(63.93% 0.244 321.4)
XYZxyz(40.4827, 22.4459, 74.1369)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45E2 #5CE245
analogous
#7C45E2 #CB45E2 #E245AB
triadic
#CB45E2 #E2CB45 #45E2CB
tetradic
#CB45E2 #E27C45 #5CE245 #45ABE2
square
#CB45E2 #E27C45 #5CE245 #45ABE2
split-complementary
#CB45E2 #ABE245 #45E27C
monochromatic
#831795 #B120CA #CB45E2 #DA7AEA #E9AFF3

Accessibility & contrast

On white

3.83
#CB45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CB45E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45E2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45E2#FFFFFF#000000##000000
##CB45E21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#5887DE
Tritanopia (blue-blind)
#CD618F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb45e2;
/* rgb */ color: rgb(203, 69, 226);
/* oklch */ color: oklch(63.9% 0.244 321.4);
Tailwind
colors: {
  custom: {
    50: '#df84ec',
    500: '#cb45e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb45e2;
$custom-light: #df84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45e2",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 291.21,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.24378,
    "h": 321.4
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#CB45E2
secondary
#ABE1A2
accent
#F03853
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CB45E2

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

Preview Lab → · Contrast checker → · Palette generator →

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