#AB62BF#AB62BF

#AB62BF is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.4% C 0.155 H 318.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB62BF
RGBrgb(171, 98, 191)
HSLhsl(287, 42%, 57%)
HSVhsv(287, 49%, 75%)
CMYKcmyk(10.5%, 48.7%, 0%, 25.1%)
CIE-LABlab(53.12, 44.63, -36.91)
CIE-LCHlch(53.12, 57.91, 320.40°)
OKLaboklab(61.43% 0.1164 -0.1022)
OKLCHoklch(61.43% 0.155 318.7)
XYZxyz(30.5650, 21.1560, 51.7536)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62BF #76BF62
analogous
#7D62BF #AB62BF #BF62A5
triadic
#AB62BF #BFAB62 #62BFAB
tetradic
#AB62BF #BF7D62 #76BF62 #62A5BF
square
#AB62BF #BF7D62 #76BF62 #62A5BF
split-complementary
#AB62BF #A5BF62 #62BF7D
monochromatic
#673076 #8D42A2 #AB62BF #C28DD1 #DAB9E2

Accessibility & contrast

On white

4.01
#AB62BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AB62BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62BF#FFFFFF#000000##000000
##AB62BF1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#AB6F88
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab62bf;
/* rgb */ color: rgb(171, 98, 191);
/* oklch */ color: oklch(61.4% 0.155 318.7);
Tailwind
colors: {
  custom: {
    50: '#c691d2',
    500: '#ab62bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab62bf;
$custom-light: #c691d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62bf",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 287.097,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.15491,
    "h": 318.7
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#AB62BF
secondary
#B4D1AB
accent
#D25671
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AB62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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