#AB45DE#AB45DE

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

Color values

HEX#AB45DE
RGBrgb(171, 69, 222)
HSLhsl(280, 70%, 57%)
HSVhsv(280, 69%, 87%)
CMYKcmyk(23%, 68.9%, 0%, 12.9%)
CIE-LABlab(49.72, 64.92, -60.04)
CIE-LCHlch(49.72, 88.43, 317.24°)
OKLaboklab(59.52% 0.1528 -0.1695)
OKLCHoklch(59.52% 0.228 312)
XYZxyz(32.1051, 18.1890, 70.9127)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB45DE #78DE45
analogous
#5F45DE #AB45DE #DE45C5
triadic
#AB45DE #DEAB45 #45DEAB
tetradic
#AB45DE #DE5F45 #78DE45 #45C5DE
square
#AB45DE #DE5F45 #78DE45 #45C5DE
split-complementary
#AB45DE #C5DE45 #45DE5F
monochromatic
#68198F #8E23C3 #AB45DE #C279E7 #DAADF0

Accessibility & contrast

On white

4.53
#AB45DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB45DE#FFFFFF#000000##000000
##AB45DE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#3478DB
Tritanopia (blue-blind)
#A5658D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab45de;
/* rgb */ color: rgb(171, 69, 222);
/* oklch */ color: oklch(59.5% 0.228 312.0);
Tailwind
colors: {
  custom: {
    50: '#c881e9',
    500: '#ab45de',
    950: '#000000',
  },
}
SCSS
$custom: #ab45de;
$custom-light: #c881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab45de",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 280,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59519,
    "c": 0.22825,
    "h": 312
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#AB45DE
secondary
#B5DFA0
accent
#ED3B76
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB45DE

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

Preview Lab → · Contrast checker → · Palette generator →

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