#AB62F0#AB62F0

#AB62F0 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.2% C 0.208 H 304.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB62F0
RGBrgb(171, 98, 240)
HSLhsl(271, 83%, 66%)
HSVhsv(271, 59%, 94%)
CMYKcmyk(28.8%, 59.2%, 0%, 5.9%)
CIE-LABlab(55.77, 55.35, -60.45)
CIE-LCHlch(55.77, 81.96, 312.48°)
OKLaboklab(64.24% 0.1193 -0.1709)
OKLCHoklch(64.24% 0.208 304.9)
XYZxyz(36.8870, 23.6848, 85.0495)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62F0 #A7F062
analogous
#6462F0 #AB62F0 #F062EE
triadic
#AB62F0 #F0AB62 #62F0AB
tetradic
#AB62F0 #F06462 #A7F062 #62EEF0
square
#AB62F0 #F06462 #A7F062 #62EEF0
split-complementary
#AB62F0 #EEF062 #62F064
monochromatic
#6E13C5 #8D2AEB #AB62F0 #C99AF5 #E7D2FB

Accessibility & contrast

On white

3.66
#AB62F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AB62F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62F0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62F0#FFFFFF#000000##000000
##AB62F01.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D84F5
Deuteranopia (green-blind)
#4386ED
Tritanopia (blue-blind)
#9F7EA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab62f0;
/* rgb */ color: rgb(171, 98, 240);
/* oklch */ color: oklch(64.2% 0.208 304.9);
Tailwind
colors: {
  custom: {
    50: '#c892f6',
    500: '#ab62f0',
    950: '#000000',
  },
}
SCSS
$custom: #ab62f0;
$custom-light: #c892f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62f0",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 270.845,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6424,
    "c": 0.2084,
    "h": 304.9
  },
  "luminance": 0.23685
}

Semantic roles & 50–950 ramp

primary
#AB62F0
secondary
#D6EEC0
accent
#DF0770
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB62F0

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

Preview Lab → · Contrast checker → · Palette generator →

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