#AB6CFA#AB6CFA

#AB6CFA is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.3% C 0.205 H 301.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB6CFA
RGBrgb(171, 108, 250)
HSLhsl(267, 93%, 70%)
HSVhsv(267, 57%, 98%)
CMYKcmyk(31.6%, 56.8%, 0%, 2%)
CIE-LABlab(58.31, 52.55, -61.93)
CIE-LCHlch(58.31, 81.22, 310.32°)
OKLaboklab(66.28% 0.1073 -0.1752)
OKLCHoklch(66.28% 0.205 301.5)
XYZxyz(39.4084, 26.2850, 93.4213)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6CFA #BBFA6C
analogous
#6C74FA #AB6CFA #F26CFA
triadic
#AB6CFA #FAAB6C #6CFAAB
tetradic
#AB6CFA #FA6C74 #BBFA6C #6CFAF2
square
#AB6CFA #FA6C74 #BBFA6C #6CFAF2
split-complementary
#AB6CFA #FAF26C #74FA6C
monochromatic
#6908E4 #8931F8 #AB6CFA #CDA7FC #EEE1FE

Accessibility & contrast

On white

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

On black

6.26
#AB6CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6CFA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6CFA#FFFFFF#000000##000000
##AB6CFA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8BFF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#9B89A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab6cfa;
/* rgb */ color: rgb(171, 108, 250);
/* oklch */ color: oklch(66.3% 0.205 301.5);
Tailwind
colors: {
  custom: {
    50: '#c898fd',
    500: '#ab6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ab6cfa;
$custom-light: #c898fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6cfa",
  "rgb": {
    "r": 171,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 266.62,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66284,
    "c": 0.20549,
    "h": 301.5
  },
  "luminance": 0.26285
}

Semantic roles & 50–950 ramp

primary
#AB6CFA
secondary
#E3F5CD
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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