#AB83FB#AB83FB

#AB83FB is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.9% C 0.173 H 297.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AB83FB
RGBrgb(171, 131, 251)
HSLhsl(260, 94%, 75%)
HSVhsv(260, 48%, 98%)
CMYKcmyk(31.9%, 47.8%, 0%, 1.6%)
CIE-LABlab(63.22, 40.32, -54.63)
CIE-LCHlch(63.22, 67.90, 306.43°)
OKLaboklab(69.94% 0.0787 -0.1539)
OKLCHoklch(69.94% 0.173 297.1)
XYZxyz(42.3192, 31.8550, 95.1671)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB83FB #D3FB83
analogous
#8397FB #AB83FB #E783FB
triadic
#AB83FB #FBAB83 #83FBAB
tetradic
#AB83FB #FB8397 #D3FB83 #83FBE7
square
#AB83FB #FB8397 #D3FB83 #83FBE7
split-complementary
#AB83FB #FBE783 #97FB83
monochromatic
#5B0CF7 #8348F9 #AB83FB #D3BEFD #EBE1FE

Accessibility & contrast

On white

2.85
#AB83FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#AB83FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB83FB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB83FB#FFFFFF#000000##000000
##AB83FB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#6398F8
Tritanopia (blue-blind)
#9A9AB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab83fb;
/* rgb */ color: rgb(171, 131, 251);
/* oklch */ color: oklch(69.9% 0.173 297.1);
Tailwind
colors: {
  custom: {
    50: '#c7a8fd',
    500: '#ab83fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab83fb;
$custom-light: #c7a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab83fb",
  "rgb": {
    "r": 171,
    "g": 131,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 93.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69943,
    "c": 0.17285,
    "h": 297.1
  },
  "luminance": 0.31856
}

Semantic roles & 50–950 ramp

primary
#AB83FB
secondary
#EBF6D5
accent
#E60099
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB83FB

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

Preview Lab → · Contrast checker → · Palette generator →

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