#AB62F4#AB62F4

#AB62F4 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.5% C 0.213 H 304.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB62F4
RGBrgb(171, 98, 244)
HSLhsl(270, 87%, 67%)
HSVhsv(270, 60%, 96%)
CMYKcmyk(29.9%, 59.8%, 0%, 4.3%)
CIE-LABlab(56.01, 56.28, -62.29)
CIE-LCHlch(56.01, 83.95, 312.10°)
OKLaboklab(64.49% 0.1192 -0.1763)
OKLCHoklch(64.49% 0.213 304.1)
XYZxyz(37.4878, 23.9251, 88.2135)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62F4 #ABF462
analogous
#6262F4 #AB62F4 #F462F4
triadic
#AB62F4 #F4AB62 #62F4AB
tetradic
#AB62F4 #F46262 #ABF462 #62F4F4
square
#AB62F4 #F46262 #ABF462 #62F4F4
split-complementary
#AB62F4 #F4F462 #62F462
monochromatic
#6E0ECD #8C29F0 #AB62F4 #CA9BF8 #E8D4FC

Accessibility & contrast

On white

3.63
#AB62F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AB62F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62F4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62F4#FFFFFF#000000##000000
##AB62F41.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1084F9
Deuteranopia (green-blind)
#3E86F1
Tritanopia (blue-blind)
#9E80A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab62f4;
/* rgb */ color: rgb(171, 98, 244);
/* oklch */ color: oklch(64.5% 0.213 304.1);
Tailwind
colors: {
  custom: {
    50: '#c892f8',
    500: '#ab62f4',
    950: '#000000',
  },
}
SCSS
$custom: #ab62f4;
$custom-light: #c892f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62f4",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 270,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.2128,
    "h": 304.1
  },
  "luminance": 0.23925
}

Semantic roles & 50–950 ramp

primary
#AB62F4
secondary
#D9F0C2
accent
#E30273
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB62F4

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

Preview Lab → · Contrast checker → · Palette generator →

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