#AB6DFA#AB6DFA

#AB6DFA is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.4% C 0.204 H 301.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB6DFA
RGBrgb(171, 109, 250)
HSLhsl(266, 93%, 70%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(31.6%, 56.4%, 0%, 2%)
CIE-LABlab(58.51, 52.03, -61.61)
CIE-LCHlch(58.51, 80.64, 310.18°)
OKLaboklab(66.43% 0.1061 -0.1743)
OKLCHoklch(66.43% 0.204 301.3)
XYZxyz(39.5145, 26.4972, 93.4567)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DFA #BCFA6D
analogous
#6D75FA #AB6DFA #F16DFA
triadic
#AB6DFA #FAAB6D #6DFAAB
tetradic
#AB6DFA #FA6D75 #BCFA6D #6DFAF1
square
#AB6DFA #FA6D75 #BCFA6D #6DFAF1
split-complementary
#AB6DFA #FAF16D #75FA6D
monochromatic
#6908E5 #8932F8 #AB6DFA #CDA8FC #EEE1FE

Accessibility & contrast

On white

3.33
#AB6DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AB6DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DFA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DFA#FFFFFF#000000##000000
##AB6DFA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#9B89A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6dfa;
/* rgb */ color: rgb(171, 109, 250);
/* oklch */ color: oklch(66.4% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#c899fd',
    500: '#ab6dfa',
    950: '#000000',
  },
}
SCSS
$custom: #ab6dfa;
$custom-light: #c899fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6dfa",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 266.383,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.20407,
    "h": 301.3
  },
  "luminance": 0.26497
}

Semantic roles & 50–950 ramp

primary
#AB6DFA
secondary
#E4F5CE
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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