#AB7BED#AB7BED

#AB7BED is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.168 H 301.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB7BED
RGBrgb(171, 123, 237)
HSLhsl(265, 76%, 71%)
HSVhsv(265, 48%, 93%)
CMYKcmyk(27.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(60.73, 41.33, -50.87)
CIE-LCHlch(60.73, 65.55, 309.09°)
OKLaboklab(67.84% 0.0877 -0.1429)
OKLCHoklch(67.84% 0.168 301.5)
XYZxyz(39.1601, 28.9382, 83.6269)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BED #BDED7B
analogous
#7B84ED #AB7BED #E47BED
triadic
#AB7BED #EDAB7B #7BEDAB
tetradic
#AB7BED #ED7B84 #BDED7B #7BEDE4
square
#AB7BED #ED7B84 #BDED7B #7BEDE4
split-complementary
#AB7BED #EDE47B #84ED7B
monochromatic
#691DD1 #8945E6 #AB7BED #CDB1F4 #EEE4FB

Accessibility & contrast

On white

3.09
#AB7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AB7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BED
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BED#FFFFFF#000000##000000
##AB7BED1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#9F90A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab7bed;
/* rgb */ color: rgb(171, 123, 237);
/* oklch */ color: oklch(67.8% 0.168 301.5);
Tailwind
colors: {
  custom: {
    50: '#c7a2f3',
    500: '#ab7bed',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bed;
$custom-light: #c7a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bed",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 265.263,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67842,
    "c": 0.16762,
    "h": 301.5
  },
  "luminance": 0.28938
}

Semantic roles & 50–950 ramp

primary
#AB7BED
secondary
#E4F1D2
accent
#D80D83
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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