#AB6EFA#AB6EFA

#AB6EFA is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.6% C 0.203 H 301.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB6EFA
RGBrgb(171, 110, 250)
HSLhsl(266, 93%, 71%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(31.6%, 56%, 0%, 2%)
CIE-LABlab(58.71, 51.50, -61.29)
CIE-LCHlch(58.71, 80.05, 310.04°)
OKLaboklab(66.58% 0.1049 -0.1734)
OKLCHoklch(66.58% 0.203 301.2)
XYZxyz(39.6218, 26.7117, 93.4924)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EFA #BDFA6E
analogous
#6E77FA #AB6EFA #F16EFA
triadic
#AB6EFA #FAAB6E #6EFAAB
tetradic
#AB6EFA #FA6E77 #BDFA6E #6EFAF1
square
#AB6EFA #FA6E77 #BDFA6E #6EFAF1
split-complementary
#AB6EFA #FAF16E #77FA6E
monochromatic
#6908E6 #8933F8 #AB6EFA #CDA9FC #EEE1FE

Accessibility & contrast

On white

3.31
#AB6EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AB6EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EFA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EFA#FFFFFF#000000##000000
##AB6EFA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#318CFF
Deuteranopia (green-blind)
#498CF7
Tritanopia (blue-blind)
#9B8AAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6efa;
/* rgb */ color: rgb(171, 110, 250);
/* oklch */ color: oklch(66.6% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#c89afd',
    500: '#ab6efa',
    950: '#000000',
  },
}
SCSS
$custom: #ab6efa;
$custom-light: #c89afd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6efa",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 266.143,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66577,
    "c": 0.20263,
    "h": 301.2
  },
  "luminance": 0.26712
}

Semantic roles & 50–950 ramp

primary
#AB6EFA
secondary
#E4F5CF
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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