#AB62F8#AB62F8

#AB62F8 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.217 H 303.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB62F8
RGBrgb(171, 98, 248)
HSLhsl(269, 91%, 68%)
HSVhsv(269, 60%, 97%)
CMYKcmyk(31%, 60.5%, 0%, 2.7%)
CIE-LABlab(56.26, 57.21, -64.11)
CIE-LCHlch(56.26, 85.93, 311.74°)
OKLaboklab(64.75% 0.1191 -0.1816)
OKLCHoklch(64.75% 0.217 303.3)
XYZxyz(38.1017, 24.1706, 91.4468)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62F8 #AFF862
analogous
#6264F8 #AB62F8 #F662F8
triadic
#AB62F8 #F8AB62 #62F8AB
tetradic
#AB62F8 #F86264 #AFF862 #62F8F6
square
#AB62F8 #F86264 #AFF862 #62F8F6
split-complementary
#AB62F8 #F8F662 #64F862
monochromatic
#6D0AD6 #8C27F5 #AB62F8 #CA9DFB #EAD7FD

Accessibility & contrast

On white

3.60
#AB62F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AB62F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62F8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62F8#FFFFFF#000000##000000
##AB62F81.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#3987F5
Tritanopia (blue-blind)
#9C81A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab62f8;
/* rgb */ color: rgb(171, 98, 248);
/* oklch */ color: oklch(64.8% 0.217 303.3);
Tailwind
colors: {
  custom: {
    50: '#c892fb',
    500: '#ab62f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab62f8;
$custom-light: #c892fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62f8",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 269.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6475,
    "c": 0.2172,
    "h": 303.3
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#AB62F8
secondary
#DCF2C4
accent
#E60076
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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