#AB62F5#AB62F5

#AB62F5 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.6% C 0.214 H 303.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB62F5
RGBrgb(171, 98, 245)
HSLhsl(270, 88%, 67%)
HSVhsv(270, 60%, 96%)
CMYKcmyk(30.2%, 60%, 0%, 3.9%)
CIE-LABlab(56.07, 56.51, -62.74)
CIE-LCHlch(56.07, 84.44, 312.01°)
OKLaboklab(64.56% 0.1192 -0.1776)
OKLCHoklch(64.56% 0.214 303.9)
XYZxyz(37.6400, 23.9860, 89.0153)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62F5 #ACF562
analogous
#6263F5 #AB62F5 #F562F5
triadic
#AB62F5 #F5AB62 #62F5AB
tetradic
#AB62F5 #F56263 #ACF562 #62F5F5
square
#AB62F5 #F56263 #ACF562 #62F5F5
split-complementary
#AB62F5 #F5F562 #63F562
monochromatic
#6E0DCF #8C28F1 #AB62F5 #CA9CF9 #E9D5FC

Accessibility & contrast

On white

3.62
#AB62F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AB62F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62F5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62F5#FFFFFF#000000##000000
##AB62F51.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C85FA
Deuteranopia (green-blind)
#3D86F2
Tritanopia (blue-blind)
#9D80A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab62f5;
/* rgb */ color: rgb(171, 98, 245);
/* oklch */ color: oklch(64.6% 0.214 303.9);
Tailwind
colors: {
  custom: {
    50: '#c892f9',
    500: '#ab62f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab62f5;
$custom-light: #c892f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62f5",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 269.796,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64557,
    "c": 0.21391,
    "h": 303.9
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#AB62F5
secondary
#DAF1C2
accent
#E50174
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB62F5

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

Preview Lab → · Contrast checker → · Palette generator →

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