#AB62D2#AB62D2

#AB62D2 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.175 H 312.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB62D2
RGBrgb(171, 98, 210)
HSLhsl(279, 55%, 60%)
HSVhsv(279, 53%, 82%)
CMYKcmyk(18.6%, 53.3%, 0%, 17.6%)
CIE-LABlab(54.08, 48.63, -46.26)
CIE-LCHlch(54.08, 67.12, 316.43°)
OKLaboklab(62.45% 0.1185 -0.1294)
OKLCHoklch(62.45% 0.175 312.5)
XYZxyz(32.7931, 22.0472, 63.4883)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62D2 #89D262
analogous
#7362D2 #AB62D2 #D262C1
triadic
#AB62D2 #D2AB62 #62D2AB
tetradic
#AB62D2 #D27362 #89D262 #62C1D2
square
#AB62D2 #D27362 #89D262 #62C1D2
split-complementary
#AB62D2 #C1D262 #62D273
monochromatic
#6C2990 #9037C0 #AB62D2 #C492E0 #DEC1ED

Accessibility & contrast

On white

3.88
#AB62D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AB62D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62D2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62D2#FFFFFF#000000##000000
##AB62D21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#5C83CF
Tritanopia (blue-blind)
#A77591
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab62d2;
/* rgb */ color: rgb(171, 98, 210);
/* oklch */ color: oklch(62.5% 0.175 312.5);
Tailwind
colors: {
  custom: {
    50: '#c691e0',
    500: '#ab62d2',
    950: '#000000',
  },
}
SCSS
$custom: #ab62d2;
$custom-light: #c691e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62d2",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 279.107,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.17541,
    "h": 312.5
  },
  "luminance": 0.22046
}

Semantic roles & 50–950 ramp

primary
#AB62D2
secondary
#C1DDB3
accent
#C3235A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB62D2

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

Preview Lab → · Contrast checker → · Palette generator →

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