#AB5FCD#AB5FCD

#AB5FCD is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.7% C 0.175 H 314.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB5FCD
RGBrgb(171, 95, 205)
HSLhsl(281, 52%, 59%)
HSVhsv(281, 54%, 80%)
CMYKcmyk(16.6%, 53.7%, 0%, 19.6%)
CIE-LABlab(53.22, 49.11, -44.77)
CIE-LCHlch(53.22, 66.46, 317.65°)
OKLaboklab(61.74% 0.1221 -0.125)
OKLCHoklch(61.74% 0.175 314.3)
XYZxyz(31.9044, 21.2510, 60.1670)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FCD #81CD5F
analogous
#745FCD #AB5FCD #CD5FB8
triadic
#AB5FCD #CDAB5F #5FCDAB
tetradic
#AB5FCD #CD745F #81CD5F #5FB8CD
square
#AB5FCD #CD745F #81CD5F #5FB8CD
split-complementary
#AB5FCD #B8CD5F #5FCD74
monochromatic
#6B2A87 #8F39B6 #AB5FCD #C38EDC #DCBCEA

Accessibility & contrast

On white

4.00
#AB5FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AB5FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FCD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FCD#FFFFFF#000000##000000
##AB5FCD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#A8718D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5fcd;
/* rgb */ color: rgb(171, 95, 205);
/* oklch */ color: oklch(61.7% 0.175 314.3);
Tailwind
colors: {
  custom: {
    50: '#c68fdd',
    500: '#ab5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fcd;
$custom-light: #c68fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fcd",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 281.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.17472,
    "h": 314.3
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#AB5FCD
secondary
#BCDAAE
accent
#DC4C78
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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