#AB62DA#AB62DA

#AB62DA is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.184 H 310.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB62DA
RGBrgb(171, 98, 218)
HSLhsl(277, 62%, 62%)
HSVhsv(277, 55%, 85%)
CMYKcmyk(21.6%, 55%, 0%, 14.5%)
CIE-LABlab(54.51, 50.38, -50.11)
CIE-LCHlch(54.51, 71.06, 315.15°)
OKLaboklab(62.91% 0.119 -0.1406)
OKLCHoklch(62.91% 0.184 310.2)
XYZxyz(33.8148, 22.4559, 68.8692)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62DA #91DA62
analogous
#6F62DA #AB62DA #DA62CD
triadic
#AB62DA #DAAB62 #62DAAB
tetradic
#AB62DA #DA6F62 #91DA62 #62CDDA
square
#AB62DA #DA6F62 #91DA62 #62CDDA
split-complementary
#AB62DA #CDDA62 #62DA6F
monochromatic
#6E259D #9031CE #AB62DA #C594E6 #E0C5F1

Accessibility & contrast

On white

3.82
#AB62DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB62DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62DA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62DA#FFFFFF#000000##000000
##AB62DA1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDE
Deuteranopia (green-blind)
#5784D7
Tritanopia (blue-blind)
#A57795
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab62da;
/* rgb */ color: rgb(171, 98, 218);
/* oklch */ color: oklch(62.9% 0.184 310.2);
Tailwind
colors: {
  custom: {
    50: '#c791e6',
    500: '#ab62da',
    950: '#000000',
  },
}
SCSS
$custom: #ab62da;
$custom-light: #c791e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62da",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 276.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62908,
    "c": 0.18417,
    "h": 310.2
  },
  "luminance": 0.22455
}

Semantic roles & 50–950 ramp

primary
#AB62DA
secondary
#C7E2B6
accent
#CA1C60
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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