#AB5FD2#AB5FD2

#AB5FD2 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.0% C 0.180 H 312.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB5FD2
RGBrgb(171, 95, 210)
HSLhsl(280, 56%, 60%)
HSVhsv(280, 55%, 82%)
CMYKcmyk(18.6%, 54.8%, 0%, 17.6%)
CIE-LABlab(53.49, 50.18, -47.20)
CIE-LCHlch(53.49, 68.89, 316.75°)
OKLaboklab(62.02% 0.1224 -0.1321)
OKLCHoklch(62.02% 0.18 312.8)
XYZxyz(32.5176, 21.4963, 63.3965)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FD2 #86D25F
analogous
#715FD2 #AB5FD2 #D25FC0
triadic
#AB5FD2 #D2AB5F #5FD2AB
tetradic
#AB5FD2 #D2715F #86D25F #5FC0D2
square
#AB5FD2 #D2715F #86D25F #5FC0D2
split-complementary
#AB5FD2 #C0D25F #5FD271
monochromatic
#6C288F #9036BE #AB5FD2 #C48FDF #DDBFED

Accessibility & contrast

On white

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

On black

5.30
#AB5FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FD2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FD2#FFFFFF#000000##000000
##AB5FD21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#5A82CF
Tritanopia (blue-blind)
#A77290
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5fd2;
/* rgb */ color: rgb(171, 95, 210);
/* oklch */ color: oklch(62.0% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#c78fe0',
    500: '#ab5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fd2;
$custom-light: #c78fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fd2",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 279.652,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62019,
    "c": 0.18009,
    "h": 312.8
  },
  "luminance": 0.21495
}

Semantic roles & 50–950 ramp

primary
#AB5FD2
secondary
#BFDDB0
accent
#DF487C
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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