#AB7FF0#AB7FF0

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

Color values

HEX#AB7FF0
RGBrgb(171, 127, 240)
HSLhsl(263, 79%, 72%)
HSVhsv(263, 47%, 94%)
CMYKcmyk(28.8%, 47.1%, 0%, 5.9%)
CIE-LABlab(61.76, 39.84, -50.89)
CIE-LCHlch(61.76, 64.63, 308.06°)
OKLaboklab(68.67% 0.0827 -0.1429)
OKLCHoklch(68.67% 0.165 300.1)
XYZxyz(40.1085, 30.1277, 86.1233)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7FF0 #C4F07F
analogous
#7F8CF0 #AB7FF0 #E47FF0
triadic
#AB7FF0 #F0AB7F #7FF0AB
tetradic
#AB7FF0 #F07F8C #C4F07F #7FF0E4
square
#AB7FF0 #F07F8C #C4F07F #7FF0E4
split-complementary
#AB7FF0 #F0E47F #8CF07F
monochromatic
#651ADB #8748EA #AB7FF0 #CFB6F6 #EDE4FC

Accessibility & contrast

On white

2.99
#AB7FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#AB7FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB7FF0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7FF0#FFFFFF#000000##000000
##AB7FF01.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#6694ED
Tritanopia (blue-blind)
#9D94AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab7ff0;
/* rgb */ color: rgb(171, 127, 240);
/* oklch */ color: oklch(68.7% 0.165 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7a5f5',
    500: '#ab7ff0',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ff0;
$custom-light: #c7a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ff0",
  "rgb": {
    "r": 171,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 263.363,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68667,
    "c": 0.16514,
    "h": 300.1
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

primary
#AB7FF0
secondary
#E9F4D7
accent
#DB0A8A
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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