#AD38CB#AD38CB

#AD38CB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.227 H 318.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AD38CB
RGBrgb(173, 56, 203)
HSLhsl(288, 59%, 51%)
HSVhsv(288, 72%, 80%)
CMYKcmyk(14.8%, 72.4%, 0%, 20.4%)
CIE-LABlab(47.01, 66.66, -53.52)
CIE-LCHlch(47.01, 85.49, 321.24°)
OKLaboklab(57.26% 0.17 -0.1503)
OKLCHoklch(57.26% 0.227 318.5)
XYZxyz(29.4258, 16.0257, 58.0316)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38CB #56CB38
analogous
#6338CB #AD38CB #CB389F
triadic
#AD38CB #CBAD38 #38CBAD
tetradic
#AD38CB #CB6338 #56CB38 #389FCB
square
#AD38CB #CB6338 #56CB38 #389FCB
split-complementary
#AD38CB #9FCB38 #38CB63
monochromatic
#5C1C6C #85299D #AD38CB #C169D8 #D599E4

Accessibility & contrast

On white

4.99
#AD38CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AD38CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38CB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38CB#FFFFFF#000000##FFFFFF
##AD38CB1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#AC567F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ad38cb;
/* rgb */ color: rgb(173, 56, 203);
/* oklch */ color: oklch(57.3% 0.227 318.5);
Tailwind
colors: {
  custom: {
    50: '#ca7adb',
    500: '#ad38cb',
    950: '#000000',
  },
}
SCSS
$custom: #ad38cb;
$custom-light: #ca7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38cb",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 287.755,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.22686,
    "h": 318.5
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

primary
#AD38CB
secondary
#9CD08F
accent
#E24666
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AD38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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