#AB5CCF#AB5CCF

#AB5CCF is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.4% C 0.182 H 314.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB5CCF
RGBrgb(171, 92, 207)
HSLhsl(281, 55%, 59%)
HSVhsv(281, 56%, 81%)
CMYKcmyk(17.4%, 55.6%, 0%, 18.8%)
CIE-LABlab(52.75, 51.07, -46.66)
CIE-LCHlch(52.75, 69.18, 317.58°)
OKLaboklab(61.43% 0.1262 -0.1305)
OKLCHoklch(61.43% 0.182 314)
XYZxyz(31.8824, 20.8181, 61.3582)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CCF #80CF5C
analogous
#715CCF #AB5CCF #CF5CB9
triadic
#AB5CCF #CFAB5C #5CCFAB
tetradic
#AB5CCF #CF715C #80CF5C #5CB9CF
square
#AB5CCF #CF715C #80CF5C #5CB9CF
split-complementary
#AB5CCF #B9CF5C #5CCF71
monochromatic
#6A2888 #8F36B8 #AB5CCF #C38BDD #DCBBEB

Accessibility & contrast

On white

4.07
#AB5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AB5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CCF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CCF#FFFFFF#000000##000000
##AB5CCF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#A86F8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab5ccf;
/* rgb */ color: rgb(171, 92, 207);
/* oklch */ color: oklch(61.4% 0.182 314.0);
Tailwind
colors: {
  custom: {
    50: '#c78dde',
    500: '#ab5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ccf;
$custom-light: #c78dde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ccf",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 281.217,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.18152,
    "h": 314
  },
  "luminance": 0.20817
}

Semantic roles & 50–950 ramp

primary
#AB5CCF
secondary
#BBDAAD
accent
#DE4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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