#AB5BE6#AB5BE6

#AB5BE6 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.207 H 308.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB5BE6
RGBrgb(171, 91, 230)
HSLhsl(275, 74%, 63%)
HSVhsv(275, 60%, 90%)
CMYKcmyk(25.7%, 60.4%, 0%, 9.8%)
CIE-LABlab(53.87, 56.58, -57.90)
CIE-LCHlch(53.87, 80.95, 314.34°)
OKLaboklab(62.67% 0.1278 -0.1633)
OKLCHoklch(62.67% 0.207 308)
XYZxyz(34.8157, 21.8538, 77.2317)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BE6 #96E65B
analogous
#655BE6 #AB5BE6 #E65BDC
triadic
#AB5BE6 #E6AB5B #5BE6AB
tetradic
#AB5BE6 #E6655B #96E65B #5BDCE6
square
#AB5BE6 #E6655B #96E65B #5BDCE6
split-complementary
#AB5BE6 #DCE65B #5BE665
monochromatic
#6E1AAC #9026DE #AB5BE6 #C690EE #E1C5F6

Accessibility & contrast

On white

3.91
#AB5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AB5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BE6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BE6#FFFFFF#000000##000000
##AB5BE61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7EEA
Deuteranopia (green-blind)
#4582E3
Tritanopia (blue-blind)
#A27698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5be6;
/* rgb */ color: rgb(171, 91, 230);
/* oklch */ color: oklch(62.7% 0.207 308.0);
Tailwind
colors: {
  custom: {
    50: '#c88def',
    500: '#ab5be6',
    950: '#000000',
  },
}
SCSS
$custom: #ab5be6;
$custom-light: #c88def;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5be6",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 274.532,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.20743,
    "h": 308
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

primary
#AB5BE6
secondary
#CBE7B5
accent
#D61064
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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