#AB62DD#AB62DD

#AB62DD is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.187 H 309.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB62DD
RGBrgb(171, 98, 221)
HSLhsl(276, 64%, 63%)
HSVhsv(276, 56%, 87%)
CMYKcmyk(22.6%, 55.7%, 0%, 13.3%)
CIE-LABlab(54.67, 51.04, -51.55)
CIE-LCHlch(54.67, 72.54, 314.72°)
OKLaboklab(63.08% 0.1191 -0.1448)
OKLCHoklch(63.08% 0.187 309.4)
XYZxyz(34.2109, 22.6143, 70.9554)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62DD #94DD62
analogous
#6E62DD #AB62DD #DD62D1
triadic
#AB62DD #DDAB62 #62DDAB
tetradic
#AB62DD #DD6E62 #94DD62 #62D1DD
square
#AB62DD #DD6E62 #94DD62 #62D1DD
split-complementary
#AB62DD #D1DD62 #62DD6E
monochromatic
#6E23A2 #9030D2 #AB62DD #C694E8 #E1C7F3

Accessibility & contrast

On white

3.80
#AB62DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AB62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62DD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62DD#FFFFFF#000000##000000
##AB62DD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E1
Deuteranopia (green-blind)
#5584DA
Tritanopia (blue-blind)
#A47896
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab62dd;
/* rgb */ color: rgb(171, 98, 221);
/* oklch */ color: oklch(63.1% 0.187 309.4);
Tailwind
colors: {
  custom: {
    50: '#c791e8',
    500: '#ab62dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab62dd;
$custom-light: #c791e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62dd",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 275.61,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63083,
    "c": 0.18748,
    "h": 309.4
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#AB62DD
secondary
#C9E4B7
accent
#CC1962
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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