#AB62DF#AB62DF

#AB62DF is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.2% C 0.190 H 308.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB62DF
RGBrgb(171, 98, 223)
HSLhsl(275, 66%, 63%)
HSVhsv(275, 56%, 87%)
CMYKcmyk(23.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(54.78, 51.49, -52.50)
CIE-LCHlch(54.78, 73.53, 314.45°)
OKLaboklab(63.2% 0.1192 -0.1476)
OKLCHoklch(63.2% 0.19 308.9)
XYZxyz(34.4789, 22.7215, 72.3671)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62DF #96DF62
analogous
#6C62DF #AB62DF #DF62D5
triadic
#AB62DF #DFAB62 #62DFAB
tetradic
#AB62DF #DF6C62 #96DF62 #62D5DF
square
#AB62DF #DF6C62 #96DF62 #62D5DF
split-complementary
#AB62DF #D5DF62 #62DF6C
monochromatic
#6E22A5 #902FD5 #AB62DF #C695E9 #E1C8F4

Accessibility & contrast

On white

3.79
#AB62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AB62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62DF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62DF#FFFFFF#000000##000000
##AB62DF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#5384DC
Tritanopia (blue-blind)
#A47997
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab62df;
/* rgb */ color: rgb(171, 98, 223);
/* oklch */ color: oklch(63.2% 0.190 308.9);
Tailwind
colors: {
  custom: {
    50: '#c791e9',
    500: '#ab62df',
    950: '#000000',
  },
}
SCSS
$custom: #ab62df;
$custom-light: #c791e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62df",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 275.04,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63201,
    "c": 0.18967,
    "h": 308.9
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#AB62DF
secondary
#CBE5B8
accent
#CE1763
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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