#AB6FCA#AB6FCA

#AB6FCA is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.0% C 0.145 H 313.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB6FCA
RGBrgb(171, 111, 202)
HSLhsl(280, 46%, 61%)
HSVhsv(280, 45%, 79%)
CMYKcmyk(15.3%, 45%, 0%, 20.8%)
CIE-LABlab(56.38, 39.93, -38.09)
CIE-LCHlch(56.38, 55.18, 316.36°)
OKLaboklab(64.03% 0.0995 -0.1057)
OKLCHoklch(64.03% 0.145 313.3)
XYZxyz(33.1379, 24.2918, 58.8088)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FCA #8ECA6F
analogous
#7E6FCA #AB6FCA #CA6FBC
triadic
#AB6FCA #CAAB6F #6FCAAB
tetradic
#AB6FCA #CA7E6F #8ECA6F #6FBCCA
square
#AB6FCA #CA7E6F #8ECA6F #6FBCCA
split-complementary
#AB6FCA #BCCA6F #6FCA7E
monochromatic
#6D338B #9044B8 #AB6FCA #C59CDA #DFC8EB

Accessibility & contrast

On white

3.58
#AB6FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AB6FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FCA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FCA#FFFFFF#000000##000000
##AB6FCA1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#6D89C7
Tritanopia (blue-blind)
#A87C93
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab6fca;
/* rgb */ color: rgb(171, 111, 202);
/* oklch */ color: oklch(64.0% 0.145 313.3);
Tailwind
colors: {
  custom: {
    50: '#c69ada',
    500: '#ab6fca',
    950: '#000000',
  },
}
SCSS
$custom: #ab6fca;
$custom-light: #c69ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6fca",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 279.56,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64031,
    "c": 0.14516,
    "h": 313.3
  },
  "luminance": 0.24291
}

Semantic roles & 50–950 ramp

primary
#AB6FCA
secondary
#C5DBB9
accent
#B92C5C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB6FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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