#AB9BF7#AB9BF7

#AB9BF7 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.0% C 0.131 H 290.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#AB9BF7
RGBrgb(171, 155, 247)
HSLhsl(250, 85%, 79%)
HSVhsv(250, 37%, 97%)
CMYKcmyk(30.8%, 37.2%, 0%, 3.1%)
CIE-LABlab(68.62, 25.83, -43.92)
CIE-LCHlch(68.62, 50.96, 300.46°)
OKLaboklab(73.96% 0.0466 -0.1227)
OKLCHoklch(73.96% 0.131 290.8)
XYZxyz(45.3001, 38.8151, 93.0830)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9BF7 #E7F79B
analogous
#9BB9F7 #AB9BF7 #D99BF7
triadic
#AB9BF7 #F7AB9B #9BF7AB
tetradic
#AB9BF7 #F79BB9 #E7F79B #9BF7D9
square
#AB9BF7 #F79BB9 #E7F79B #9BF7D9
split-complementary
#AB9BF7 #F7D99B #B9F79B
monochromatic
#4C2AEE #7B62F2 #AB9BF7 #DBD4FC #E7E3FD

Accessibility & contrast

On white

2.40
#AB9BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#AB9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9BF7
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9BF7#FFFFFF#000000##000000
##AB9BF71.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#81A5F5
Tritanopia (blue-blind)
#99ACBD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab9bf7;
/* rgb */ color: rgb(171, 155, 247);
/* oklch */ color: oklch(74.0% 0.131 290.8);
Tailwind
colors: {
  custom: {
    50: '#c6b8fa',
    500: '#ab9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ab9bf7;
$custom-light: #c6b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9bf7",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 250.435,
    "s": 85.185,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73956,
    "c": 0.13129,
    "h": 290.8
  },
  "luminance": 0.38816
}

Semantic roles & 50–950 ramp

primary
#AB9BF7
secondary
#EFF5D6
accent
#E204BB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AB9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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