#AB7BF9#AB7BF9

#AB7BF9 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.182 H 299.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AB7BF9
RGBrgb(171, 123, 249)
HSLhsl(263, 91%, 73%)
HSVhsv(263, 51%, 98%)
CMYKcmyk(31.3%, 50.6%, 0%, 2.4%)
CIE-LABlab(61.36, 44.25, -56.49)
CIE-LCHlch(61.36, 71.76, 308.07°)
OKLaboklab(68.52% 0.0887 -0.1593)
OKLCHoklch(68.52% 0.182 299.1)
XYZxyz(40.9723, 29.6631, 93.1711)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BF9 #C9F97B
analogous
#7B8AF9 #AB7BF9 #EA7BF9
triadic
#AB7BF9 #F9AB7B #7BF9AB
tetradic
#AB7BF9 #F97B8A #C9F97B #7BF9EA
square
#AB7BF9 #F97B8A #C9F97B #7BF9EA
split-complementary
#AB7BF9 #F9EA7B #8AF97B
monochromatic
#620BEF #8640F6 #AB7BF9 #D0B6FC #ECE2FE

Accessibility & contrast

On white

3.03
#AB7BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AB7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BF9
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BF9#FFFFFF#000000##000000
##AB7BF91.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#9B93AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab7bf9;
/* rgb */ color: rgb(171, 123, 249);
/* oklch */ color: oklch(68.5% 0.182 299.1);
Tailwind
colors: {
  custom: {
    50: '#c7a2fc',
    500: '#ab7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bf9;
$custom-light: #c7a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bf9",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 262.857,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68522,
    "c": 0.18237,
    "h": 299.1
  },
  "luminance": 0.29663
}

Semantic roles & 50–950 ramp

primary
#AB7BF9
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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