#AB5EEF#AB5EEF

#AB5EEF is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.6% C 0.213 H 305.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AB5EEF
RGBrgb(171, 94, 239)
HSLhsl(272, 82%, 65%)
HSVhsv(272, 61%, 94%)
CMYKcmyk(28.5%, 60.7%, 0%, 6.3%)
CIE-LABlab(54.96, 57.13, -61.18)
CIE-LCHlch(54.96, 83.71, 313.04°)
OKLaboklab(63.63% 0.1241 -0.173)
OKLCHoklch(63.63% 0.213 305.6)
XYZxyz(36.3739, 22.8956, 84.1477)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EEF #A2EF5E
analogous
#625EEF #AB5EEF #EF5EEB
triadic
#AB5EEF #EFAB5E #5EEFAB
tetradic
#AB5EEF #EF625E #A2EF5E #5EEBEF
square
#AB5EEF #EF625E #A2EF5E #5EEBEF
split-complementary
#AB5EEF #EBEF5E #5EEF62
monochromatic
#6F13C0 #8E26E9 #AB5EEF #C896F5 #E5CDFA

Accessibility & contrast

On white

3.76
#AB5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AB5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EEF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EEF#FFFFFF#000000##000000
##AB5EEF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A81F4
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#9F7B9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5eef;
/* rgb */ color: rgb(171, 94, 239);
/* oklch */ color: oklch(63.6% 0.213 305.6);
Tailwind
colors: {
  custom: {
    50: '#c88ff5',
    500: '#ab5eef',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eef;
$custom-light: #c88ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eef",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 271.862,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63634,
    "c": 0.21289,
    "h": 305.6
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#AB5EEF
secondary
#D3EDBC
accent
#DE076C
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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