#AB45E0#AB45E0

#AB45E0 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.230 H 311.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB45E0
RGBrgb(171, 69, 224)
HSLhsl(279, 71%, 57%)
HSVhsv(279, 69%, 88%)
CMYKcmyk(23.7%, 69.2%, 0%, 12.2%)
CIE-LABlab(49.85, 65.33, -60.97)
CIE-LCHlch(49.85, 89.36, 316.98°)
OKLaboklab(59.65% 0.1526 -0.1723)
OKLCHoklch(59.65% 0.23 311.5)
XYZxyz(32.3748, 18.2968, 72.3327)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB45E0 #7AE045
analogous
#5E45E0 #AB45E0 #E045C8
triadic
#AB45E0 #E0AB45 #45E0AB
tetradic
#AB45E0 #E05E45 #7AE045 #45C8E0
square
#AB45E0 #E05E45 #7AE045 #45C8E0
split-complementary
#AB45E0 #C8E045 #45E05E
monochromatic
#691892 #8E21C7 #AB45E0 #C379E9 #DAAEF1

Accessibility & contrast

On white

4.51
#AB45E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AB45E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB45E0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB45E0#FFFFFF#000000##000000
##AB45E01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#3178DD
Tritanopia (blue-blind)
#A4668E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab45e0;
/* rgb */ color: rgb(171, 69, 224);
/* oklch */ color: oklch(59.7% 0.230 311.5);
Tailwind
colors: {
  custom: {
    50: '#c881ea',
    500: '#ab45e0',
    950: '#000000',
  },
}
SCSS
$custom: #ab45e0;
$custom-light: #c881ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab45e0",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 279.484,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59652,
    "c": 0.23014,
    "h": 311.5
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#AB45E0
secondary
#B7E0A1
accent
#EE3A77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB45E0

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

Preview Lab → · Contrast checker → · Palette generator →

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