#AB6FDA#AB6FDA

#AB6FDA is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.164 H 308.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB6FDA
RGBrgb(171, 111, 218)
HSLhsl(274, 59%, 65%)
HSVhsv(274, 49%, 85%)
CMYKcmyk(21.6%, 49.1%, 0%, 14.5%)
CIE-LABlab(57.16, 43.48, -45.90)
CIE-LCHlch(57.16, 63.22, 313.45°)
OKLaboklab(64.87% 0.1017 -0.1284)
OKLCHoklch(64.87% 0.164 308.4)
XYZxyz(35.1314, 25.0892, 69.3080)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FDA #9EDA6F
analogous
#766FDA #AB6FDA #DA6FD3
triadic
#AB6FDA #DAAB6F #6FDAAB
tetradic
#AB6FDA #DA766F #9EDA6F #6FD3DA
square
#AB6FDA #DA766F #9EDA6F #6FD3DA
split-complementary
#AB6FDA #D3DA6F #6FDA76
monochromatic
#6F2AA4 #8F3ECD #AB6FDA #C7A0E7 #E4D0F3

Accessibility & contrast

On white

3.49
#AB6FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AB6FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FDA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FDA#FFFFFF#000000##000000
##AB6FDA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DE
Deuteranopia (green-blind)
#648AD7
Tritanopia (blue-blind)
#A5819A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab6fda;
/* rgb */ color: rgb(171, 111, 218);
/* oklch */ color: oklch(64.9% 0.164 308.4);
Tailwind
colors: {
  custom: {
    50: '#c69ae6',
    500: '#ab6fda',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fda;
$custom-light: #c69ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fda",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 273.645,
    "s": 59.116,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.16376,
    "h": 308.4
  },
  "luminance": 0.25089
}

Semantic roles & 50–950 ramp

primary
#AB6FDA
secondary
#D0E5C0
accent
#C71F69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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