#AD45CB#AD45CB

#AD45CB is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.6% C 0.211 H 317.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AD45CB
RGBrgb(173, 69, 203)
HSLhsl(287, 56%, 53%)
HSVhsv(287, 66%, 80%)
CMYKcmyk(14.8%, 66%, 0%, 20.4%)
CIE-LABlab(48.83, 61.54, -50.61)
CIE-LCHlch(48.83, 79.67, 320.57°)
OKLaboklab(58.56% 0.1566 -0.1418)
OKLCHoklch(58.56% 0.211 317.8)
XYZxyz(30.1397, 17.4535, 58.2696)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45CB #63CB45
analogous
#6A45CB #AD45CB #CB45A6
triadic
#AD45CB #CBAD45 #45CBAD
tetradic
#AD45CB #CB6A45 #63CB45 #45A6CB
square
#AD45CB #CB6A45 #63CB45 #45A6CB
split-complementary
#AD45CB #A6CB45 #45CB6A
monochromatic
#622175 #8A2EA5 #AD45CB #C275D8 #D7A5E6

Accessibility & contrast

On white

4.68
#AD45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AD45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD45CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45CB#FFFFFF#000000##FFFFFF
##AD45CB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6DCF
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#AC5E82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ad45cb;
/* rgb */ color: rgb(173, 69, 203);
/* oklch */ color: oklch(58.6% 0.211 317.8);
Tailwind
colors: {
  custom: {
    50: '#c980db',
    500: '#ad45cb',
    950: '#000000',
  },
}
SCSS
$custom: #ad45cb;
$custom-light: #c980db;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45cb",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 286.567,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.21124,
    "h": 317.8
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#AD45CB
secondary
#A6D399
accent
#E0486A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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