#AB62DE#AB62DE

#AB62DE is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.1% C 0.189 H 309.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB62DE
RGBrgb(171, 98, 222)
HSLhsl(275, 65%, 63%)
HSVhsv(275, 56%, 87%)
CMYKcmyk(23%, 55.9%, 0%, 12.9%)
CIE-LABlab(54.73, 51.27, -52.02)
CIE-LCHlch(54.73, 73.04, 314.58°)
OKLaboklab(63.14% 0.1191 -0.1462)
OKLCHoklch(63.14% 0.189 309.2)
XYZxyz(34.3445, 22.6678, 71.6591)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62DE #95DE62
analogous
#6D62DE #AB62DE #DE62D3
triadic
#AB62DE #DEAB62 #62DEAB
tetradic
#AB62DE #DE6D62 #95DE62 #62D3DE
square
#AB62DE #DE6D62 #95DE62 #62D3DE
split-complementary
#AB62DE #D3DE62 #62DE6D
monochromatic
#6E22A3 #902FD3 #AB62DE #C695E9 #E1C7F3

Accessibility & contrast

On white

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

On black

5.53
#AB62DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62DE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62DE#FFFFFF#000000##000000
##AB62DE1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E2
Deuteranopia (green-blind)
#5484DB
Tritanopia (blue-blind)
#A47997
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab62de;
/* rgb */ color: rgb(171, 98, 222);
/* oklch */ color: oklch(63.1% 0.189 309.2);
Tailwind
colors: {
  custom: {
    50: '#c791e9',
    500: '#ab62de',
    950: '#000000',
  },
}
SCSS
$custom: #ab62de;
$custom-light: #c791e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62de",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 275.323,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.18858,
    "h": 309.2
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

primary
#AB62DE
secondary
#CAE4B7
accent
#CD1863
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB62DE

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

Preview Lab → · Contrast checker → · Palette generator →

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