#AB4BE6#AB4BE6

#AB4BE6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.7% C 0.229 H 309.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB4BE6
RGBrgb(171, 75, 230)
HSLhsl(277, 76%, 60%)
HSVhsv(277, 67%, 90%)
CMYKcmyk(25.7%, 67.4%, 0%, 9.8%)
CIE-LABlab(51.16, 64.04, -62.26)
CIE-LCHlch(51.16, 89.32, 315.81°)
OKLaboklab(60.71% 0.1458 -0.1761)
OKLCHoklch(60.71% 0.229 309.6)
XYZxyz(33.5908, 19.4039, 76.8234)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BE6 #86E64B
analogous
#5D4BE6 #AB4BE6 #E64BD4
triadic
#AB4BE6 #E6AB4B #4BE6AB
tetradic
#AB4BE6 #E65D4B #86E64B #4BD4E6
square
#AB4BE6 #E65D4B #86E64B #4BD4E6
split-complementary
#AB4BE6 #D4E64B #4BE65D
monochromatic
#6C16A0 #901ED6 #AB4BE6 #C481ED #DDB6F5

Accessibility & contrast

On white

4.30
#AB4BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AB4BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BE6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BE6#FFFFFF#000000##000000
##AB4BE61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#307BE3
Tritanopia (blue-blind)
#A36C93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4be6;
/* rgb */ color: rgb(171, 75, 230);
/* oklch */ color: oklch(60.7% 0.229 309.6);
Tailwind
colors: {
  custom: {
    50: '#c884ef',
    500: '#ab4be6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4be6;
$custom-light: #c884ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4be6",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 277.161,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.22862,
    "h": 309.6
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#AB4BE6
secondary
#BFE4A8
accent
#F2367D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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