#AB83F7#AB83F7

#AB83F7 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.168 H 297.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AB83F7
RGBrgb(171, 131, 247)
HSLhsl(261, 88%, 74%)
HSVhsv(261, 47%, 97%)
CMYKcmyk(30.8%, 47%, 0%, 3.1%)
CIE-LABlab(63.02, 39.33, -52.76)
CIE-LCHlch(63.02, 65.81, 306.70°)
OKLaboklab(69.72% 0.0783 -0.1484)
OKLCHoklch(69.72% 0.168 297.8)
XYZxyz(41.6953, 31.6055, 91.8814)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB83F7 #CFF783
analogous
#8395F7 #AB83F7 #E583F7
triadic
#AB83F7 #F7AB83 #83F7AB
tetradic
#AB83F7 #F78395 #CFF783 #83F7E5
square
#AB83F7 #F78395 #CFF783 #83F7E5
split-complementary
#AB83F7 #F7E583 #95F783
monochromatic
#5D10F0 #844AF3 #AB83F7 #D2BCFB #ECE2FD

Accessibility & contrast

On white

2.87
#AB83F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AB83F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB83F7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB83F7#FFFFFF#000000##000000
##AB83F71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#9B99B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab83f7;
/* rgb */ color: rgb(171, 131, 247);
/* oklch */ color: oklch(69.7% 0.168 297.8);
Tailwind
colors: {
  custom: {
    50: '#c7a8fa',
    500: '#ab83f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab83f7;
$custom-light: #c7a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab83f7",
  "rgb": {
    "r": 171,
    "g": 131,
    "b": 247
  },
  "hsl": {
    "h": 260.69,
    "s": 87.879,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69721,
    "c": 0.1678,
    "h": 297.8
  },
  "luminance": 0.31606
}

Semantic roles & 50–950 ramp

primary
#AB83F7
secondary
#EAF5D6
accent
#E40196
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB83F7

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

Preview Lab → · Contrast checker → · Palette generator →

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