#AB83F2#AB83F2

#AB83F2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.4% C 0.161 H 298.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AB83F2
RGBrgb(171, 131, 242)
HSLhsl(262, 81%, 73%)
HSVhsv(262, 46%, 95%)
CMYKcmyk(29.3%, 45.9%, 0%, 5.1%)
CIE-LABlab(62.76, 38.10, -50.41)
CIE-LCHlch(62.76, 63.19, 307.08°)
OKLaboklab(69.45% 0.0777 -0.1416)
OKLCHoklch(69.45% 0.161 298.8)
XYZxyz(40.9341, 31.3010, 87.8723)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB83F2 #CAF283
analogous
#8392F2 #AB83F2 #E383F2
triadic
#AB83F2 #F2AB83 #83F2AB
tetradic
#AB83F2 #F28392 #CAF283 #83F2E3
square
#AB83F2 #F28392 #CAF283 #83F2E3
split-complementary
#AB83F2 #F2E383 #92F283
monochromatic
#6118E3 #854CEC #AB83F2 #D1BAF8 #ECE3FC

Accessibility & contrast

On white

2.89
#AB83F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AB83F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB83F2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB83F2#FFFFFF#000000##000000
##AB83F21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#9D97AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab83f2;
/* rgb */ color: rgb(171, 131, 242);
/* oklch */ color: oklch(69.4% 0.161 298.8);
Tailwind
colors: {
  custom: {
    50: '#c7a8f7',
    500: '#ab83f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab83f2;
$custom-light: #c7a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab83f2",
  "rgb": {
    "r": 171,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 261.622,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69447,
    "c": 0.16147,
    "h": 298.8
  },
  "luminance": 0.31301
}

Semantic roles & 50–950 ramp

primary
#AB83F2
secondary
#EAF4D7
accent
#DD0891
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB83F2

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

Preview Lab → · Contrast checker → · Palette generator →

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