#AB62F1#AB62F1

#AB62F1 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.3% C 0.210 H 304.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB62F1
RGBrgb(171, 98, 241)
HSLhsl(271, 84%, 66%)
HSVhsv(271, 59%, 95%)
CMYKcmyk(29%, 59.3%, 0%, 5.5%)
CIE-LABlab(55.83, 55.58, -60.91)
CIE-LCHlch(55.83, 82.46, 312.38°)
OKLaboklab(64.3% 0.1193 -0.1722)
OKLCHoklch(64.3% 0.21 304.7)
XYZxyz(37.0360, 23.7444, 85.8340)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62F1 #A8F162
analogous
#6462F1 #AB62F1 #F162F0
triadic
#AB62F1 #F1AB62 #62F1AB
tetradic
#AB62F1 #F16462 #A8F162 #62F0F1
square
#AB62F1 #F16462 #A8F162 #62F0F1
split-complementary
#AB62F1 #F0F162 #62F164
monochromatic
#6E12C7 #8D2AEC #AB62F1 #C99AF6 #E7D2FB

Accessibility & contrast

On white

3.65
#AB62F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AB62F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62F1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62F1#FFFFFF#000000##000000
##AB62F11.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A84F6
Deuteranopia (green-blind)
#4286EE
Tritanopia (blue-blind)
#9F7FA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab62f1;
/* rgb */ color: rgb(171, 98, 241);
/* oklch */ color: oklch(64.3% 0.210 304.7);
Tailwind
colors: {
  custom: {
    50: '#c892f6',
    500: '#ab62f1',
    950: '#000000',
  },
}
SCSS
$custom: #ab62f1;
$custom-light: #c892f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62f1",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 270.629,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.20951,
    "h": 304.7
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

primary
#AB62F1
secondary
#D7EFC0
accent
#E00570
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB62F1

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

Preview Lab → · Contrast checker → · Palette generator →

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