#AB62FE#AB62FE

#AB62FE is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.1% C 0.224 H 302.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB62FE
RGBrgb(171, 98, 254)
HSLhsl(268, 99%, 69%)
HSVhsv(268, 61%, 100%)
CMYKcmyk(32.7%, 61.4%, 0%, 0.4%)
CIE-LABlab(56.63, 58.62, -66.83)
CIE-LCHlch(56.63, 88.90, 311.25°)
OKLaboklab(65.14% 0.1188 -0.1896)
OKLCHoklch(65.14% 0.224 302.1)
XYZxyz(39.0475, 24.5490, 96.4280)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62FE #B5FE62
analogous
#6267FE #AB62FE #F962FE
triadic
#AB62FE #FEAB62 #62FEAB
tetradic
#AB62FE #FE6267 #B5FE62 #62FEF9
square
#AB62FE #FE6267 #B5FE62 #62FEF9
split-complementary
#AB62FE #FEF962 #67FE62
monochromatic
#6C01E4 #8A25FE #AB62FE #CC9FFE #ECDCFF

Accessibility & contrast

On white

3.55
#AB62FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AB62FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62FE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62FE#FFFFFF#000000##000000
##AB62FE1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2F87FB
Tritanopia (blue-blind)
#9A83A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab62fe;
/* rgb */ color: rgb(171, 98, 254);
/* oklch */ color: oklch(65.1% 0.224 302.1);
Tailwind
colors: {
  custom: {
    50: '#c992ff',
    500: '#ab62fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab62fe;
$custom-light: #c992ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62fe",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 268.077,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65142,
    "c": 0.22378,
    "h": 302.1
  },
  "luminance": 0.24549
}

Semantic roles & 50–950 ramp

primary
#AB62FE
secondary
#DFF5C7
accent
#E6007A
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB62FE

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

Preview Lab → · Contrast checker → · Palette generator →

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