#AB5FF6#AB5FF6

#AB5FF6 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.2% C 0.219 H 304.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB5FF6
RGBrgb(171, 95, 246)
HSLhsl(270, 89%, 67%)
HSVhsv(270, 61%, 96%)
CMYKcmyk(30.5%, 61.4%, 0%, 3.5%)
CIE-LABlab(55.58, 58.24, -64.10)
CIE-LCHlch(55.58, 86.61, 312.26°)
OKLaboklab(64.22% 0.1226 -0.1816)
OKLCHoklch(64.22% 0.219 304)
XYZxyz(37.5176, 23.4963, 89.7296)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FF6 #AAF65F
analogous
#605FF6 #AB5FF6 #F65FF5
triadic
#AB5FF6 #F6AB5F #5FF6AB
tetradic
#AB5FF6 #F6605F #AAF65F #5FF5F6
square
#AB5FF6 #F6605F #AAF65F #5FF5F6
split-complementary
#AB5FF6 #F5F65F #5FF660
monochromatic
#6E0CCF #8D25F3 #AB5FF6 #C999F9 #E8D3FD

Accessibility & contrast

On white

3.68
#AB5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AB5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FF6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FF6#FFFFFF#000000##000000
##AB5FF61.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#3785F3
Tritanopia (blue-blind)
#9D7FA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab5ff6;
/* rgb */ color: rgb(171, 95, 246);
/* oklch */ color: oklch(64.2% 0.219 304.0);
Tailwind
colors: {
  custom: {
    50: '#c890fa',
    500: '#ab5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ff6;
$custom-light: #c890fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ff6",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 270.199,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.21909,
    "h": 304
  },
  "luminance": 0.23496
}

Semantic roles & 50–950 ramp

primary
#AB5FF6
secondary
#D8F1C0
accent
#E60072
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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