#AB83FE#AB83FE

#AB83FE is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.177 H 296.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AB83FE
RGBrgb(171, 131, 254)
HSLhsl(260, 98%, 75%)
HSVhsv(260, 48%, 100%)
CMYKcmyk(32.7%, 48.4%, 0%, 0.4%)
CIE-LABlab(63.38, 41.07, -56.03)
CIE-LCHlch(63.38, 69.47, 306.24°)
OKLaboklab(70.11% 0.079 -0.158)
OKLCHoklch(70.11% 0.177 296.6)
XYZxyz(42.7958, 32.0457, 97.6774)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB83FE #D6FE83
analogous
#8398FE #AB83FE #E883FE
triadic
#AB83FE #FEAB83 #83FEAB
tetradic
#AB83FE #FE8398 #D6FE83 #83FEE8
square
#AB83FE #FE8398 #D6FE83 #83FEE8
split-complementary
#AB83FE #FEE883 #98FE83
monochromatic
#590AFD #8246FE #AB83FE #D4C0FE #EAE1FF

Accessibility & contrast

On white

2.83
#AB83FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AB83FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB83FE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB83FE#FFFFFF#000000##000000
##AB83FE1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#999BB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab83fe;
/* rgb */ color: rgb(171, 131, 254);
/* oklch */ color: oklch(70.1% 0.177 296.6);
Tailwind
colors: {
  custom: {
    50: '#c7a8ff',
    500: '#ab83fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab83fe;
$custom-light: #c7a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab83fe",
  "rgb": {
    "r": 171,
    "g": 131,
    "b": 254
  },
  "hsl": {
    "h": 259.512,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70112,
    "c": 0.17663,
    "h": 296.6
  },
  "luminance": 0.32046
}

Semantic roles & 50–950 ramp

primary
#AB83FE
secondary
#ECF7D4
accent
#E6009B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB83FE

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

Preview Lab → · Contrast checker → · Palette generator →

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