#AB6EF5#AB6EF5

#AB6EF5 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.197 H 302.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF5
RGBrgb(171, 110, 245)
HSLhsl(267, 87%, 70%)
HSVhsv(267, 55%, 96%)
CMYKcmyk(30.2%, 55.1%, 0%, 3.9%)
CIE-LABlab(58.42, 50.30, -58.99)
CIE-LCHlch(58.42, 77.52, 310.46°)
OKLaboklab(66.27% 0.1048 -0.1666)
OKLCHoklch(66.27% 0.197 302.2)
XYZxyz(38.8482, 26.4023, 89.4180)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF5 #B8F56E
analogous
#6E75F5 #AB6EF5 #EE6EF5
triadic
#AB6EF5 #F5AB6E #6EF5AB
tetradic
#AB6EF5 #F56E75 #B8F56E #6EF5EE
square
#AB6EF5 #F56E75 #B8F56E #6EF5EE
split-complementary
#AB6EF5 #F5EE6E #75F56E
monochromatic
#6B0FDA #8A35F1 #AB6EF5 #CCA7F9 #EDE1FD

Accessibility & contrast

On white

3.34
#AB6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AB6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF5#FFFFFF#000000##000000
##AB6EF51.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF9
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#9D88A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6ef5;
/* rgb */ color: rgb(171, 110, 245);
/* oklch */ color: oklch(66.3% 0.197 302.2);
Tailwind
colors: {
  custom: {
    50: '#c89af9',
    500: '#ab6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef5;
$custom-light: #c89af9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef5",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 267.111,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66271,
    "c": 0.19683,
    "h": 302.2
  },
  "luminance": 0.26402
}

Semantic roles & 50–950 ramp

primary
#AB6EF5
secondary
#E1F3CC
accent
#E4027E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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