#AB55E4#AB55E4

#AB55E4 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.214 H 309.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB55E4
RGBrgb(171, 85, 228)
HSLhsl(276, 73%, 61%)
HSVhsv(276, 63%, 89%)
CMYKcmyk(25%, 62.7%, 0%, 10.6%)
CIE-LABlab(52.68, 59.04, -58.68)
CIE-LCHlch(52.68, 83.24, 315.18°)
OKLaboklab(61.77% 0.1349 -0.1656)
OKLCHoklch(61.77% 0.214 309.2)
XYZxyz(34.0439, 20.7570, 75.5968)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55E4 #8EE455
analogous
#6455E4 #AB55E4 #E455D6
triadic
#AB55E4 #E4AB55 #55E4AB
tetradic
#AB55E4 #E46455 #8EE455 #55D6E4
square
#AB55E4 #E46455 #8EE455 #55D6E4
split-complementary
#AB55E4 #D6E455 #55E464
monochromatic
#6D1AA4 #9023D9 #AB55E4 #C58AEC #DFBFF5

Accessibility & contrast

On white

4.08
#AB55E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AB55E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55E4#FFFFFF#000000##000000
##AB55E41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#A37295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab55e4;
/* rgb */ color: rgb(171, 85, 228);
/* oklch */ color: oklch(61.8% 0.214 309.2);
Tailwind
colors: {
  custom: {
    50: '#c88aed',
    500: '#ab55e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab55e4;
$custom-light: #c88aed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55e4",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 276.084,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.21362,
    "h": 309.2
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#AB55E4
secondary
#C5E5B0
accent
#D5115F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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