#AB62F3#AB62F3

#AB62F3 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.4% C 0.212 H 304.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB62F3
RGBrgb(171, 98, 243)
HSLhsl(270, 86%, 67%)
HSVhsv(270, 60%, 95%)
CMYKcmyk(29.6%, 59.7%, 0%, 4.7%)
CIE-LABlab(55.95, 56.05, -61.83)
CIE-LCHlch(55.95, 83.45, 312.19°)
OKLaboklab(64.43% 0.1193 -0.1749)
OKLCHoklch(64.43% 0.212 304.3)
XYZxyz(37.3363, 23.8645, 87.4160)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62F3 #AAF362
analogous
#6362F3 #AB62F3 #F362F3
triadic
#AB62F3 #F3AB62 #62F3AB
tetradic
#AB62F3 #F36362 #AAF362 #62F3F3
square
#AB62F3 #F36362 #AAF362 #62F3F3
split-complementary
#AB62F3 #F3F362 #62F363
monochromatic
#6E10CB #8D29EF #AB62F3 #C99BF7 #E8D4FC

Accessibility & contrast

On white

3.64
#AB62F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AB62F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62F3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62F3#FFFFFF#000000##000000
##AB62F31.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F8
Deuteranopia (green-blind)
#3F86F0
Tritanopia (blue-blind)
#9E80A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab62f3;
/* rgb */ color: rgb(171, 98, 243);
/* oklch */ color: oklch(64.4% 0.212 304.3);
Tailwind
colors: {
  custom: {
    50: '#c892f8',
    500: '#ab62f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab62f3;
$custom-light: #c892f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62f3",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 270.207,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64429,
    "c": 0.21171,
    "h": 304.3
  },
  "luminance": 0.23864
}

Semantic roles & 50–950 ramp

primary
#AB62F3
secondary
#D8F0C1
accent
#E20372
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB62F3

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

Preview Lab → · Contrast checker → · Palette generator →

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