#AB3EBA#AB3EBA

#AB3EBA is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.204 H 322.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB3EBA
RGBrgb(171, 62, 186)
HSLhsl(293, 50%, 49%)
HSVhsv(293, 67%, 73%)
CMYKcmyk(8.1%, 66.7%, 0%, 27.1%)
CIE-LABlab(46.51, 60.77, -44.46)
CIE-LCHlch(46.51, 75.30, 323.81°)
OKLaboklab(56.52% 0.1623 -0.1239)
OKLCHoklch(56.52% 0.204 322.6)
XYZxyz(27.3792, 15.6499, 48.0234)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EBA #4DBA3E
analogous
#6D3EBA #AB3EBA #BA3E8B
triadic
#AB3EBA #BAAB3E #3EBAAB
tetradic
#AB3EBA #BA6D3E #4DBA3E #3E8BBA
square
#AB3EBA #BA6D3E #4DBA3E #3E8BBA
split-complementary
#AB3EBA #8BBA3E #3EBA6D
monochromatic
#571F5E #812F8C #AB3EBA #C168CD #D496DC

Accessibility & contrast

On white

5.09
#AB3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EBA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EBA#FFFFFF#000000##FFFFFF
##AB3EBA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#AD5277
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3eba;
/* rgb */ color: rgb(171, 62, 186);
/* oklch */ color: oklch(56.5% 0.204 322.6);
Tailwind
colors: {
  custom: {
    50: '#c77ccf',
    500: '#ab3eba',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eba;
$custom-light: #c77ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eba",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 292.742,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.20416,
    "h": 322.6
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#AB3EBA
secondary
#93C88C
accent
#DA4E5F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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