#AB7BF3#AB7BF3

#AB7BF3 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.175 H 300.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AB7BF3
RGBrgb(171, 123, 243)
HSLhsl(264, 83%, 72%)
HSVhsv(264, 49%, 95%)
CMYKcmyk(29.6%, 49.4%, 0%, 4.7%)
CIE-LABlab(61.04, 42.78, -53.69)
CIE-LCHlch(61.04, 68.65, 308.55°)
OKLaboklab(68.18% 0.0883 -0.1511)
OKLCHoklch(68.18% 0.175 300.3)
XYZxyz(40.0514, 29.2947, 88.3210)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BF3 #C3F37B
analogous
#7B87F3 #AB7BF3 #E77BF3
triadic
#AB7BF3 #F3AB7B #7BF3AB
tetradic
#AB7BF3 #F37B87 #C3F37B #7BF3E7
square
#AB7BF3 #F37B87 #C3F37B #7BF3E7
split-complementary
#AB7BF3 #F3E77B #87F37B
monochromatic
#6614DF #8743EE #AB7BF3 #CFB3F8 #EDE3FC

Accessibility & contrast

On white

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

On black

6.86
#AB7BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BF3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BF3#FFFFFF#000000##000000
##AB7BF31.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F7
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#9D91AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab7bf3;
/* rgb */ color: rgb(171, 123, 243);
/* oklch */ color: oklch(68.2% 0.175 300.3);
Tailwind
colors: {
  custom: {
    50: '#c7a2f7',
    500: '#ab7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bf3;
$custom-light: #c7a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bf3",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 264,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68178,
    "c": 0.17501,
    "h": 300.3
  },
  "luminance": 0.29295
}

Semantic roles & 50–950 ramp

primary
#AB7BF3
secondary
#E8F4D6
accent
#E00689
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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