#AB7FFD#AB7FFD

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

Color values

HEX#AB7FFD
RGBrgb(171, 127, 253)
HSLhsl(261, 97%, 75%)
HSVhsv(261, 50%, 99%)
CMYKcmyk(32.4%, 49.8%, 0%, 0.8%)
CIE-LABlab(62.45, 43.03, -56.96)
CIE-LCHlch(62.45, 71.39, 307.07°)
OKLaboklab(69.4% 0.084 -0.1607)
OKLCHoklch(69.4% 0.181 297.6)
XYZxyz(42.1092, 30.9280, 96.6606)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FFD #D1FD7F
analogous
#7F92FD #AB7FFD #EA7FFD
triadic
#AB7FFD #FDAB7F #7FFDAB
tetradic
#AB7FFD #FD7F92 #D1FD7F #7FFDEA
square
#AB7FFD #FD7F92 #D1FD7F #7FFDEA
split-complementary
#AB7FFD #FDEA7F #92FD7F
monochromatic
#5C06FB #8343FC #AB7FFD #D3BBFE #EBE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB7FFD#FFFFFF#000000##000000
##AB7FFD1.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)
#5297FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#9997B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab7ffd;
/* rgb */ color: rgb(171, 127, 253);
/* oklch */ color: oklch(69.4% 0.181 297.6);
Tailwind
colors: {
  custom: {
    50: '#c7a5ff',
    500: '#ab7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ffd;
$custom-light: #c7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ffd",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 260.952,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69398,
    "c": 0.18133,
    "h": 297.6
  },
  "luminance": 0.30929
}

Semantic roles & 50–950 ramp

primary
#AB7FFD
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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