#AB5BE7#AB5BE7

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

Color values

HEX#AB5BE7
RGBrgb(171, 91, 231)
HSLhsl(274, 74%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26%, 60.6%, 0%, 9.4%)
CIE-LABlab(53.93, 56.80, -58.36)
CIE-LCHlch(53.93, 81.44, 314.23°)
OKLaboklab(62.73% 0.1278 -0.1647)
OKLCHoklch(62.73% 0.208 307.8)
XYZxyz(34.9565, 21.9101, 77.9734)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BE7 #97E75B
analogous
#655BE7 #AB5BE7 #E75BDD
triadic
#AB5BE7 #E7AB5B #5BE7AB
tetradic
#AB5BE7 #E7655B #97E75B #5BDDE7
square
#AB5BE7 #E7655B #97E75B #5BDDE7
split-complementary
#AB5BE7 #DDE75B #5BE765
monochromatic
#6E19AE #9026DF #AB5BE7 #C690EF #E2C6F7

Accessibility & contrast

On white

3.90
#AB5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AB5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BE7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BE7#FFFFFF#000000##000000
##AB5BE71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#177EEB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#A27799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5be7;
/* rgb */ color: rgb(171, 91, 231);
/* oklch */ color: oklch(62.7% 0.208 307.8);
Tailwind
colors: {
  custom: {
    50: '#c88def',
    500: '#ab5be7',
    950: '#000000',
  },
}
SCSS
$custom: #ab5be7;
$custom-light: #c88def;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5be7",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 274.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62728,
    "c": 0.20849,
    "h": 307.8
  },
  "luminance": 0.2191
}

Semantic roles & 50–950 ramp

primary
#AB5BE7
secondary
#CBE8B6
accent
#D70F64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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