#AB55EB#AB55EB

#AB55EB is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.221 H 307.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB55EB
RGBrgb(171, 85, 235)
HSLhsl(274, 79%, 63%)
HSVhsv(274, 64%, 92%)
CMYKcmyk(27.2%, 63.8%, 0%, 7.8%)
CIE-LABlab(53.12, 60.58, -61.92)
CIE-LCHlch(53.12, 86.63, 314.38°)
OKLaboklab(62.22% 0.1345 -0.1751)
OKLCHoklch(62.22% 0.221 307.5)
XYZxyz(35.0354, 21.1535, 80.8185)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55EB #95EB55
analogous
#6055EB #AB55EB #EB55E0
triadic
#AB55EB #EBAB55 #55EBAB
tetradic
#AB55EB #EB6055 #95EB55 #55E0EB
square
#AB55EB #EB6055 #95EB55 #55E0EB
split-complementary
#AB55EB #E0EB55 #55EB60
monochromatic
#6E15B1 #901EE5 #AB55EB #C68CF1 #E1C3F8

Accessibility & contrast

On white

4.01
#AB55EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AB55EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55EB#FFFFFF#000000##000000
##AB55EB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#3780E8
Tritanopia (blue-blind)
#A17499
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab55eb;
/* rgb */ color: rgb(171, 85, 235);
/* oklch */ color: oklch(62.2% 0.221 307.5);
Tailwind
colors: {
  custom: {
    50: '#c88af2',
    500: '#ab55eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab55eb;
$custom-light: #c88af2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55eb",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 274.4,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62217,
    "c": 0.22084,
    "h": 307.5
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#AB55EB
secondary
#CAE9B3
accent
#DB0A63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB55EB

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

Preview Lab → · Contrast checker → · Palette generator →

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