#AB62F2#AB62F2

#AB62F2 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.211 H 304.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB62F2
RGBrgb(171, 98, 242)
HSLhsl(270, 85%, 67%)
HSVhsv(270, 60%, 95%)
CMYKcmyk(29.3%, 59.5%, 0%, 5.1%)
CIE-LABlab(55.89, 55.82, -61.37)
CIE-LCHlch(55.89, 82.96, 312.29°)
OKLaboklab(64.37% 0.1193 -0.1736)
OKLCHoklch(64.37% 0.211 304.5)
XYZxyz(37.1857, 23.8043, 86.6228)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62F2 #A9F262
analogous
#6362F2 #AB62F2 #F262F1
triadic
#AB62F2 #F2AB62 #62F2AB
tetradic
#AB62F2 #F26362 #A9F262 #62F1F2
square
#AB62F2 #F26362 #A9F262 #62F1F2
split-complementary
#AB62F2 #F1F262 #62F263
monochromatic
#6E11C9 #8D29ED #AB62F2 #C99BF7 #E7D3FB

Accessibility & contrast

On white

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

On black

5.76
#AB62F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62F2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62F2#FFFFFF#000000##000000
##AB62F21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1784F7
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#9E7FA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab62f2;
/* rgb */ color: rgb(171, 98, 242);
/* oklch */ color: oklch(64.4% 0.211 304.5);
Tailwind
colors: {
  custom: {
    50: '#c892f7',
    500: '#ab62f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab62f2;
$custom-light: #c892f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62f2",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 270.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64366,
    "c": 0.21061,
    "h": 304.5
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#AB62F2
secondary
#D8EFC1
accent
#E10471
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB62F2

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

Preview Lab → · Contrast checker → · Palette generator →

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