#AB5CD3#AB5CD3

#AB5CD3 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.7% C 0.186 H 312.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB5CD3
RGBrgb(171, 92, 211)
HSLhsl(280, 57%, 59%)
HSVhsv(280, 56%, 83%)
CMYKcmyk(19%, 56.4%, 0%, 17.3%)
CIE-LABlab(52.97, 51.93, -48.60)
CIE-LCHlch(52.97, 71.12, 316.90°)
OKLaboklab(61.65% 0.1264 -0.1361)
OKLCHoklch(61.65% 0.186 312.9)
XYZxyz(32.3776, 21.0162, 63.9663)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CD3 #84D35C
analogous
#705CD3 #AB5CD3 #D35CC0
triadic
#AB5CD3 #D3AB5C #5CD3AB
tetradic
#AB5CD3 #D3705C #84D35C #5CC0D3
square
#AB5CD3 #D3705C #84D35C #5CC0D3
split-complementary
#AB5CD3 #C0D35C #5CD370
monochromatic
#6B268E #9033BE #AB5CD3 #C48CE0 #DDBCED

Accessibility & contrast

On white

4.04
#AB5CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AB5CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CD3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CD3#FFFFFF#000000##000000
##AB5CD31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD7
Deuteranopia (green-blind)
#5680D0
Tritanopia (blue-blind)
#A7718F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5cd3;
/* rgb */ color: rgb(171, 92, 211);
/* oklch */ color: oklch(61.7% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#c78de1',
    500: '#ab5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cd3;
$custom-light: #c78de1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cd3",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 279.832,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.18576,
    "h": 312.9
  },
  "luminance": 0.21015
}

Semantic roles & 50–950 ramp

primary
#AB5CD3
secondary
#BEDDAE
accent
#E1477B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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