#AB5FCF#AB5FCF

#AB5FCF is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.9% C 0.177 H 313.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB5FCF
RGBrgb(171, 95, 207)
HSLhsl(281, 54%, 59%)
HSVhsv(281, 54%, 81%)
CMYKcmyk(17.4%, 54.1%, 0%, 18.8%)
CIE-LABlab(53.33, 49.54, -45.74)
CIE-LCHlch(53.33, 67.43, 317.28°)
OKLaboklab(61.85% 0.1222 -0.1278)
OKLCHoklch(61.85% 0.177 313.7)
XYZxyz(32.1474, 21.3482, 61.4465)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FCF #83CF5F
analogous
#735FCF #AB5FCF #CF5FBB
triadic
#AB5FCF #CFAB5F #5FCFAB
tetradic
#AB5FCF #CF735F #83CF5F #5FBBCF
square
#AB5FCF #CF735F #83CF5F #5FBBCF
split-complementary
#AB5FCF #BBCF5F #5FCF73
monochromatic
#6B298A #9038B9 #AB5FCF #C48EDD #DCBDEB

Accessibility & contrast

On white

3.99
#AB5FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AB5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FCF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FCF#FFFFFF#000000##000000
##AB5FCF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#A8718E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab5fcf;
/* rgb */ color: rgb(171, 95, 207);
/* oklch */ color: oklch(61.9% 0.177 313.7);
Tailwind
colors: {
  custom: {
    50: '#c68fde',
    500: '#ab5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fcf;
$custom-light: #c68fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fcf",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 280.714,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6185,
    "c": 0.17686,
    "h": 313.7
  },
  "luminance": 0.21347
}

Semantic roles & 50–950 ramp

primary
#AB5FCF
secondary
#BDDBAF
accent
#DD4B7A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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