#AB5FC0#AB5FC0

#AB5FC0 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.161 H 318.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB5FC0
RGBrgb(171, 95, 192)
HSLhsl(287, 43%, 56%)
HSVhsv(287, 51%, 75%)
CMYKcmyk(10.9%, 50.5%, 0%, 24.7%)
CIE-LABlab(52.56, 46.41, -38.36)
CIE-LCHlch(52.56, 60.21, 320.42°)
OKLaboklab(61.04% 0.1208 -0.1064)
OKLCHoklch(61.04% 0.161 318.6)
XYZxyz(30.4000, 20.6492, 52.2433)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FC0 #74C05F
analogous
#7B5FC0 #AB5FC0 #C05FA5
triadic
#AB5FC0 #C0AB5F #5FC0AB
tetradic
#AB5FC0 #C07B5F #74C05F #5FA5C0
square
#AB5FC0 #C07B5F #74C05F #5FA5C0
split-complementary
#AB5FC0 #A5C05F #5FC07B
monochromatic
#672F76 #8D40A2 #AB5FC0 #C28BD1 #D9B7E3

Accessibility & contrast

On white

4.09
#AB5FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AB5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FC0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FC0#FFFFFF#000000##000000
##AB5FC01.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#AB6D87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5fc0;
/* rgb */ color: rgb(171, 95, 192);
/* oklch */ color: oklch(61.0% 0.161 318.6);
Tailwind
colors: {
  custom: {
    50: '#c68fd3',
    500: '#ab5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fc0;
$custom-light: #c68fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fc0",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 287.01,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.16094,
    "h": 318.6
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#AB5FC0
secondary
#B2D1A9
accent
#D35570
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AB5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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