#AB6FFE#AB6FFE

#AB6FFE is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.0% C 0.206 H 300.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB6FFE
RGBrgb(171, 111, 254)
HSLhsl(265, 99%, 72%)
HSVhsv(265, 56%, 100%)
CMYKcmyk(32.7%, 56.3%, 0%, 0.4%)
CIE-LABlab(59.14, 51.94, -62.80)
CIE-LCHlch(59.14, 81.49, 309.59°)
OKLaboklab(66.97% 0.1037 -0.1778)
OKLCHoklch(66.97% 0.206 300.3)
XYZxyz(40.3641, 27.1823, 96.8669)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6FFE #C2FE6F
analogous
#6F7BFE #AB6FFE #F36FFE
triadic
#AB6FFE #FEAB6F #6FFEAB
tetradic
#AB6FFE #FE6F7B #C2FE6F #6FFEF3
square
#AB6FFE #FE6F7B #C2FE6F #6FFEF3
split-complementary
#AB6FFE #FEF36F #7BFE6F
monochromatic
#6602F1 #8832FE #AB6FFE #CEACFE #EDE1FF

Accessibility & contrast

On white

3.26
#AB6FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AB6FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6FFE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6FFE#FFFFFF#000000##000000
##AB6FFE1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#468DFB
Tritanopia (blue-blind)
#9A8CAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab6ffe;
/* rgb */ color: rgb(171, 111, 254);
/* oklch */ color: oklch(67.0% 0.206 300.3);
Tailwind
colors: {
  custom: {
    50: '#c89aff',
    500: '#ab6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ffe;
$custom-light: #c89aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ffe",
  "rgb": {
    "r": 171,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 265.175,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66973,
    "c": 0.20584,
    "h": 300.3
  },
  "luminance": 0.27183
}

Semantic roles & 50–950 ramp

primary
#AB6FFE
secondary
#E7F7D2
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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