#AB62FD#AB62FD

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

Color values

HEX#AB62FD
RGBrgb(171, 98, 253)
HSLhsl(268, 97%, 69%)
HSVhsv(268, 61%, 99%)
CMYKcmyk(32.4%, 61.3%, 0%, 0.8%)
CIE-LABlab(56.57, 58.39, -66.38)
CIE-LCHlch(56.57, 88.41, 311.33°)
OKLaboklab(65.08% 0.1189 -0.1883)
OKLCHoklch(65.08% 0.223 302.3)
XYZxyz(38.8878, 24.4851, 95.5868)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB62FD #B4FD62
analogous
#6267FD #AB62FD #F862FD
triadic
#AB62FD #FDAB62 #62FDAB
tetradic
#AB62FD #FD6267 #B4FD62 #62FDF8
square
#AB62FD #FD6267 #B4FD62 #62FDF8
split-complementary
#AB62FD #FDF862 #67FD62
monochromatic
#6C03E2 #8B26FC #AB62FD #CB9EFE #ECDBFF

Accessibility & contrast

On white

3.56
#AB62FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#AB62FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB62FD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB62FD#FFFFFF#000000##000000
##AB62FD1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3187FA
Tritanopia (blue-blind)
#9B83A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab62fd;
/* rgb */ color: rgb(171, 98, 253);
/* oklch */ color: oklch(65.1% 0.223 302.3);
Tailwind
colors: {
  custom: {
    50: '#c992ff',
    500: '#ab62fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab62fd;
$custom-light: #c992ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab62fd",
  "rgb": {
    "r": 171,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 268.258,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65076,
    "c": 0.22268,
    "h": 302.3
  },
  "luminance": 0.24485
}

Semantic roles & 50–950 ramp

primary
#AB62FD
secondary
#DFF4C6
accent
#E60079
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AB62FD

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

Preview Lab → · Contrast checker → · Palette generator →

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