#AB7EF3#AB7EF3

#AB7EF3 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.7% C 0.170 H 299.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#AB7EF3
RGBrgb(171, 126, 243)
HSLhsl(263, 83%, 72%)
HSVhsv(263, 48%, 95%)
CMYKcmyk(29.6%, 48.1%, 0%, 4.7%)
CIE-LABlab(61.70, 41.13, -52.65)
CIE-LCHlch(61.70, 66.81, 307.99°)
OKLaboklab(68.67% 0.0844 -0.1481)
OKLCHoklch(68.67% 0.17 299.7)
XYZxyz(40.4293, 30.0504, 88.4470)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7EF3 #C6F37E
analogous
#7E8BF3 #AB7EF3 #E67EF3
triadic
#AB7EF3 #F3AB7E #7EF3AB
tetradic
#AB7EF3 #F37E8B #C6F37E #7EF3E6
square
#AB7EF3 #F37E8B #C6F37E #7EF3E6
split-complementary
#AB7EF3 #F3E67E #8BF37E
monochromatic
#6415E2 #8746EE #AB7EF3 #CFB6F8 #EDE3FC

Accessibility & contrast

On white

3.00
#AB7EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#AB7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB7EF3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7EF3#FFFFFF#000000##000000
##AB7EF31.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F7
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#9D94AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab7ef3;
/* rgb */ color: rgb(171, 126, 243);
/* oklch */ color: oklch(68.7% 0.170 299.7);
Tailwind
colors: {
  custom: {
    50: '#c7a4f7',
    500: '#ab7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ef3;
$custom-light: #c7a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ef3",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 263.077,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68668,
    "c": 0.17042,
    "h": 299.7
  },
  "luminance": 0.30051
}

Semantic roles & 50–950 ramp

primary
#AB7EF3
secondary
#E9F4D7
accent
#DF068C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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