#AB7BF4#AB7BF4

#AB7BF4 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.2% C 0.176 H 300.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AB7BF4
RGBrgb(171, 123, 244)
HSLhsl(264, 85%, 72%)
HSVhsv(264, 50%, 96%)
CMYKcmyk(29.9%, 49.6%, 0%, 4.3%)
CIE-LABlab(61.09, 43.03, -54.16)
CIE-LCHlch(61.09, 69.17, 308.46°)
OKLaboklab(68.24% 0.0883 -0.1525)
OKLCHoklch(68.24% 0.176 300.1)
XYZxyz(40.2028, 29.3553, 89.1185)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BF4 #C4F47B
analogous
#7B88F4 #AB7BF4 #E87BF4
triadic
#AB7BF4 #F4AB7B #7BF4AB
tetradic
#AB7BF4 #F47B88 #C4F47B #7BF4E8
square
#AB7BF4 #F47B88 #C4F47B #7BF4E8
split-complementary
#AB7BF4 #F4E87B #88F47B
monochromatic
#6513E2 #8743EF #AB7BF4 #CFB3F9 #EDE3FD

Accessibility & contrast

On white

3.06
#AB7BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#AB7BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BF4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BF4#FFFFFF#000000##000000
##AB7BF41.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F8
Deuteranopia (green-blind)
#5F93F1
Tritanopia (blue-blind)
#9C92AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab7bf4;
/* rgb */ color: rgb(171, 123, 244);
/* oklch */ color: oklch(68.2% 0.176 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7a2f8',
    500: '#ab7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bf4;
$custom-light: #c7a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bf4",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 263.802,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68235,
    "c": 0.17624,
    "h": 300.1
  },
  "luminance": 0.29355
}

Semantic roles & 50–950 ramp

primary
#AB7BF4
secondary
#E9F5D6
accent
#E1048A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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