#AB6EF3#AB6EF3

#AB6EF3 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.195 H 302.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF3
RGBrgb(171, 110, 243)
HSLhsl(268, 85%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(29.6%, 54.7%, 0%, 4.7%)
CIE-LABlab(58.30, 49.82, -58.06)
CIE-LCHlch(58.30, 76.51, 310.63°)
OKLaboklab(66.15% 0.1048 -0.1639)
OKLCHoklch(66.15% 0.195 302.6)
XYZxyz(38.5445, 26.2808, 87.8187)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF3 #B6F36E
analogous
#6E74F3 #AB6EF3 #EE6EF3
triadic
#AB6EF3 #F3AB6E #6EF3AB
tetradic
#AB6EF3 #F36E74 #B6F36E #6EF3EE
square
#AB6EF3 #F36E74 #B6F36E #6EF3EE
split-complementary
#AB6EF3 #F3EE6E #74F36E
monochromatic
#6B12D5 #8A35EE #AB6EF3 #CCA7F8 #ECDFFC

Accessibility & contrast

On white

3.36
#AB6EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AB6EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF3#FFFFFF#000000##000000
##AB6EF31.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF7
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#9D88A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6ef3;
/* rgb */ color: rgb(171, 110, 243);
/* oklch */ color: oklch(66.2% 0.195 302.6);
Tailwind
colors: {
  custom: {
    50: '#c899f8',
    500: '#ab6ef3',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef3;
$custom-light: #c899f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef3",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 267.519,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66151,
    "c": 0.19451,
    "h": 302.6
  },
  "luminance": 0.26281
}

Semantic roles & 50–950 ramp

primary
#AB6EF3
secondary
#E0F2CB
accent
#E1047C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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