#AB5EF3#AB5EF3

#AB5EF3 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.217 H 304.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AB5EF3
RGBrgb(171, 94, 243)
HSLhsl(271, 86%, 66%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29.6%, 61.3%, 0%, 4.7%)
CIE-LABlab(55.21, 58.05, -63.02)
CIE-LCHlch(55.21, 85.68, 312.65°)
OKLaboklab(63.89% 0.1239 -0.1784)
OKLCHoklch(63.89% 0.217 304.8)
XYZxyz(36.9714, 23.1346, 87.2943)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EF3 #A6F35E
analogous
#605EF3 #AB5EF3 #F35EF0
triadic
#AB5EF3 #F3AB5E #5EF3AB
tetradic
#AB5EF3 #F3605E #A6F35E #5EF0F3
square
#AB5EF3 #F3605E #A6F35E #5EF0F3
split-complementary
#AB5EF3 #F0F35E #5EF360
monochromatic
#6E0FC8 #8D25EF #AB5EF3 #C997F7 #E6D0FB

Accessibility & contrast

On white

3.73
#AB5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#AB5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EF3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EF3#FFFFFF#000000##000000
##AB5EF31.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#9E7DA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab5ef3;
/* rgb */ color: rgb(171, 94, 243);
/* oklch */ color: oklch(63.9% 0.217 304.8);
Tailwind
colors: {
  custom: {
    50: '#c88ff8',
    500: '#ab5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ef3;
$custom-light: #c88ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ef3",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 271.007,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63891,
    "c": 0.21721,
    "h": 304.8
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#AB5EF3
secondary
#D6EFBE
accent
#E3036F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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