#AB50EA#AB50EA

#AB50EA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.5% C 0.226 H 308.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB50EA
RGBrgb(171, 80, 234)
HSLhsl(275, 79%, 62%)
HSVhsv(275, 66%, 92%)
CMYKcmyk(26.9%, 65.8%, 0%, 8.2%)
CIE-LABlab(52.22, 62.68, -62.81)
CIE-LCHlch(52.22, 88.73, 314.94°)
OKLaboklab(61.55% 0.1401 -0.1777)
OKLCHoklch(61.55% 0.226 308.3)
XYZxyz(34.5115, 20.3363, 79.9332)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50EA #8FEA50
analogous
#5E50EA #AB50EA #EA50DC
triadic
#AB50EA #EAAB50 #50EAAB
tetradic
#AB50EA #EA5E50 #8FEA50 #50DCEA
square
#AB50EA #EA5E50 #8FEA50 #50DCEA
split-complementary
#AB50EA #DCEA50 #50EA5E
monochromatic
#6D15AB #901BE2 #AB50EA #C587F1 #DFBDF7

Accessibility & contrast

On white

4.14
#AB50EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AB50EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB50EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50EA#FFFFFF#000000##000000
##AB50EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#A17197
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab50ea;
/* rgb */ color: rgb(171, 80, 234);
/* oklch */ color: oklch(61.5% 0.226 308.3);
Tailwind
colors: {
  custom: {
    50: '#c887f2',
    500: '#ab50ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab50ea;
$custom-light: #c887f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50ea",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 275.455,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.22631,
    "h": 308.3
  },
  "luminance": 0.20336
}

Semantic roles & 50–950 ramp

primary
#AB50EA
secondary
#C6E8AE
accent
#DB0B60
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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