#AB45CE#AB45CE

#AB45CE is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.213 H 316.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB45CE
RGBrgb(171, 69, 206)
HSLhsl(285, 58%, 54%)
HSVhsv(285, 67%, 81%)
CMYKcmyk(17%, 66.5%, 0%, 19.2%)
CIE-LABlab(48.72, 61.68, -52.51)
CIE-LCHlch(48.72, 81.00, 319.59°)
OKLaboklab(58.48% 0.154 -0.1474)
OKLCHoklch(58.48% 0.213 316.3)
XYZxyz(30.0616, 17.3715, 60.1501)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB45CE #68CE45
analogous
#6745CE #AB45CE #CE45AC
triadic
#AB45CE #CEAB45 #45CEAB
tetradic
#AB45CE #CE6745 #68CE45 #45ACCE
square
#AB45CE #CE6745 #68CE45 #45ACCE
split-complementary
#AB45CE #ACCE45 #45CE67
monochromatic
#622079 #892DA9 #AB45CE #C175DB #D7A6E8

Accessibility & contrast

On white

4.69
#AB45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB45CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB45CE#FFFFFF#000000##FFFFFF
##AB45CE1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#A95F84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab45ce;
/* rgb */ color: rgb(171, 69, 206);
/* oklch */ color: oklch(58.5% 0.213 316.3);
Tailwind
colors: {
  custom: {
    50: '#c880de',
    500: '#ab45ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab45ce;
$custom-light: #c880de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab45ce",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 284.672,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.21323,
    "h": 316.3
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#AB45CE
secondary
#A9D59A
accent
#E2466E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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