#AB63F2#AB63F2

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

Color values

HEX#AB63F2
RGBrgb(171, 99, 242)
HSLhsl(270, 85%, 67%)
HSVhsv(270, 59%, 95%)
CMYKcmyk(29.3%, 59.1%, 0%, 5.1%)
CIE-LABlab(56.08, 55.31, -61.07)
CIE-LCHlch(56.08, 82.39, 312.17°)
OKLaboklab(64.5% 0.1181 -0.1727)
OKLCHoklch(64.5% 0.209 304.4)
XYZxyz(37.2799, 23.9926, 86.6542)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB63F2 #AAF263
analogous
#6463F2 #AB63F2 #F263F1
triadic
#AB63F2 #F2AB63 #63F2AB
tetradic
#AB63F2 #F26463 #AAF263 #63F1F2
square
#AB63F2 #F26463 #AAF263 #63F1F2
split-complementary
#AB63F2 #F1F263 #63F264
monochromatic
#6E11CA #8D2BED #AB63F2 #C99BF7 #E8D4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB63F2#FFFFFF#000000##000000
##AB63F21.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)
#1C85F7
Deuteranopia (green-blind)
#4286EF
Tritanopia (blue-blind)
#9E80A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab63f2;
/* rgb */ color: rgb(171, 99, 242);
/* oklch */ color: oklch(64.5% 0.209 304.4);
Tailwind
colors: {
  custom: {
    50: '#c892f7',
    500: '#ab63f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab63f2;
$custom-light: #c892f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab63f2",
  "rgb": {
    "r": 171,
    "g": 99,
    "b": 242
  },
  "hsl": {
    "h": 270.21,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64504,
    "c": 0.2092,
    "h": 304.4
  },
  "luminance": 0.23992
}

Semantic roles & 50–950 ramp

primary
#AB63F2
secondary
#D8EFC2
accent
#E10472
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AB63F2

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

Preview Lab → · Contrast checker → · Palette generator →

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