#AB7FE3#AB7FE3

#AB7FE3 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.149 H 302.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AB7FE3
RGBrgb(171, 127, 227)
HSLhsl(266, 64%, 69%)
HSVhsv(266, 44%, 89%)
CMYKcmyk(24.7%, 44.1%, 0%, 11%)
CIE-LABlab(61.12, 36.73, -44.69)
CIE-LCHlch(61.12, 57.85, 309.41°)
OKLaboklab(67.97% 0.081 -0.1249)
OKLCHoklch(67.97% 0.149 302.9)
XYZxyz(38.2461, 29.3828, 76.3147)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FE3 #B7E37F
analogous
#7F85E3 #AB7FE3 #DD7FE3
triadic
#AB7FE3 #E3AB7F #7FE3AB
tetradic
#AB7FE3 #E37F85 #B7E37F #7FE3DD
square
#AB7FE3 #E37F85 #B7E37F #7FE3DD
split-complementary
#AB7FE3 #E3DD7F #85E37F
monochromatic
#6B2ABE #8A4DD8 #AB7FE3 #CCB1EE #EDE3F9

Accessibility & contrast

On white

3.05
#AB7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AB7FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7FE3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FE3#FFFFFF#000000##000000
##AB7FE31.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E7
Deuteranopia (green-blind)
#6E93E0
Tritanopia (blue-blind)
#A190A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab7fe3;
/* rgb */ color: rgb(171, 127, 227);
/* oklch */ color: oklch(68.0% 0.149 302.9);
Tailwind
colors: {
  custom: {
    50: '#c6a5ec',
    500: '#ab7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ab7fe3;
$custom-light: #c6a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7fe3",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 266.4,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.14885,
    "h": 302.9
  },
  "luminance": 0.29383
}

Semantic roles & 50–950 ramp

primary
#AB7FE3
secondary
#E1EDD0
accent
#CC1A7D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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