#AB6EF2#AB6EF2

#AB6EF2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.193 H 302.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB6EF2
RGBrgb(171, 110, 242)
HSLhsl(268, 84%, 69%)
HSVhsv(268, 55%, 95%)
CMYKcmyk(29.3%, 54.5%, 0%, 5.1%)
CIE-LABlab(58.25, 49.59, -57.60)
CIE-LCHlch(58.25, 76.00, 310.73°)
OKLaboklab(66.09% 0.1047 -0.1625)
OKLCHoklch(66.09% 0.193 302.8)
XYZxyz(38.3939, 26.2206, 87.0256)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EF2 #B5F26E
analogous
#6E73F2 #AB6EF2 #ED6EF2
triadic
#AB6EF2 #F2AB6E #6EF2AB
tetradic
#AB6EF2 #F26E73 #B5F26E #6EF2ED
square
#AB6EF2 #F26E73 #B5F26E #6EF2ED
split-complementary
#AB6EF2 #F2ED6E #73F26E
monochromatic
#6C13D3 #8A36ED #AB6EF2 #CCA6F7 #ECDEFC

Accessibility & contrast

On white

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

On black

6.24
#AB6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EF2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EF2#FFFFFF#000000##000000
##AB6EF21.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#9E88A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6ef2;
/* rgb */ color: rgb(171, 110, 242);
/* oklch */ color: oklch(66.1% 0.193 302.8);
Tailwind
colors: {
  custom: {
    50: '#c799f7',
    500: '#ab6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ef2;
$custom-light: #c799f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ef2",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 267.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6609,
    "c": 0.19334,
    "h": 302.8
  },
  "luminance": 0.26221
}

Semantic roles & 50–950 ramp

primary
#AB6EF2
secondary
#DFF1CB
accent
#E0067B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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