#AB5FD3#AB5FD3

#AB5FD3 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.1% C 0.181 H 312.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB5FD3
RGBrgb(171, 95, 211)
HSLhsl(279, 57%, 60%)
HSVhsv(279, 55%, 83%)
CMYKcmyk(19%, 55%, 0%, 17.3%)
CIE-LABlab(53.54, 50.40, -47.68)
CIE-LCHlch(53.54, 69.38, 316.59°)
OKLaboklab(62.08% 0.1225 -0.1335)
OKLCHoklch(62.08% 0.181 312.5)
XYZxyz(32.6426, 21.5463, 64.0547)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FD3 #87D35F
analogous
#715FD3 #AB5FD3 #D35FC1
triadic
#AB5FD3 #D3AB5F #5FD3AB
tetradic
#AB5FD3 #D3715F #87D35F #5FC1D3
square
#AB5FD3 #D3715F #87D35F #5FC1D3
split-complementary
#AB5FD3 #C1D35F #5FD371
monochromatic
#6C2890 #9035C0 #AB5FD3 #C48FE0 #DDBFED

Accessibility & contrast

On white

3.96
#AB5FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AB5FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FD3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FD3#FFFFFF#000000##000000
##AB5FD31.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD7
Deuteranopia (green-blind)
#5982D0
Tritanopia (blue-blind)
#A77390
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5fd3;
/* rgb */ color: rgb(171, 95, 211);
/* oklch */ color: oklch(62.1% 0.181 312.5);
Tailwind
colors: {
  custom: {
    50: '#c78fe1',
    500: '#ab5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fd3;
$custom-light: #c78fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fd3",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 279.31,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.18116,
    "h": 312.5
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#AB5FD3
secondary
#C0DDB1
accent
#E0487C
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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