#AB83EC#AB83EC

#AB83EC is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.1% C 0.154 H 300.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#AB83EC
RGBrgb(171, 131, 236)
HSLhsl(263, 73%, 72%)
HSVhsv(263, 44%, 93%)
CMYKcmyk(27.5%, 44.5%, 0%, 7.5%)
CIE-LABlab(62.46, 36.64, -47.57)
CIE-LCHlch(62.46, 60.05, 307.61°)
OKLaboklab(69.13% 0.0769 -0.1333)
OKLCHoklch(69.13% 0.154 300)
XYZxyz(40.0477, 30.9464, 83.2040)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB83EC #C4EC83
analogous
#8390EC #AB83EC #E083EC
triadic
#AB83EC #ECAB83 #83ECAB
tetradic
#AB83EC #EC8390 #C4EC83 #83ECE0
square
#AB83EC #EC8390 #C4EC83 #83ECE0
split-complementary
#AB83EC #ECE083 #90EC83
monochromatic
#6520D4 #874EE4 #AB83EC #CFB8F4 #EDE4FB

Accessibility & contrast

On white

2.92
#AB83EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#AB83EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB83EC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB83EC#FFFFFF#000000##000000
##AB83EC1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#9E96AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab83ec;
/* rgb */ color: rgb(171, 131, 236);
/* oklch */ color: oklch(69.1% 0.154 300.0);
Tailwind
colors: {
  custom: {
    50: '#c6a7f2',
    500: '#ab83ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab83ec;
$custom-light: #c6a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab83ec",
  "rgb": {
    "r": 171,
    "g": 131,
    "b": 236
  },
  "hsl": {
    "h": 262.857,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69126,
    "c": 0.15386,
    "h": 300
  },
  "luminance": 0.30947
}

Semantic roles & 50–950 ramp

primary
#AB83EC
secondary
#E9F3D8
accent
#D6108A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB83EC

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

Preview Lab → · Contrast checker → · Palette generator →

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