#AB6EFB#AB6EFB

#AB6EFB is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.6% C 0.204 H 301.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB6EFB
RGBrgb(171, 110, 251)
HSLhsl(266, 95%, 71%)
HSVhsv(266, 56%, 98%)
CMYKcmyk(31.9%, 56.2%, 0%, 1.6%)
CIE-LABlab(58.77, 51.74, -61.75)
CIE-LCHlch(58.77, 80.56, 309.96°)
OKLaboklab(66.64% 0.1049 -0.1747)
OKLCHoklch(66.64% 0.204 301)
XYZxyz(39.7790, 26.7746, 94.3204)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EFB #BEFB6E
analogous
#6E77FB #AB6EFB #F16EFB
triadic
#AB6EFB #FBAB6E #6EFBAB
tetradic
#AB6EFB #FB6E77 #BEFB6E #6EFBF1
square
#AB6EFB #FB6E77 #BEFB6E #6EFBF1
split-complementary
#AB6EFB #FBF16E #77FB6E
monochromatic
#6806E8 #8832F9 #AB6EFB #CEAAFD #EEE1FE

Accessibility & contrast

On white

3.30
#AB6EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AB6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EFB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EFB#FFFFFF#000000##000000
##AB6EFB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#478DF8
Tritanopia (blue-blind)
#9B8AAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab6efb;
/* rgb */ color: rgb(171, 110, 251);
/* oklch */ color: oklch(66.6% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#c89afd',
    500: '#ab6efb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6efb;
$custom-light: #c89afd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6efb",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 265.957,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66639,
    "c": 0.20379,
    "h": 301
  },
  "luminance": 0.26775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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