#AB9BF0#AB9BF0

#AB9BF0 is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.6% C 0.122 H 291.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AB9BF0
RGBrgb(171, 155, 240)
HSLhsl(251, 74%, 77%)
HSVhsv(251, 35%, 94%)
CMYKcmyk(28.8%, 35.4%, 0%, 5.9%)
CIE-LABlab(68.31, 24.10, -40.58)
CIE-LCHlch(68.31, 47.20, 300.70°)
OKLaboklab(73.62% 0.0451 -0.1131)
OKLCHoklch(73.62% 0.122 291.8)
XYZxyz(44.2402, 38.3911, 87.5006)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9BF0 #E0F09B
analogous
#9BB6F0 #AB9BF0 #D59BF0
triadic
#AB9BF0 #F0AB9B #9BF0AB
tetradic
#AB9BF0 #F09BB6 #E0F09B #9BF0D5
square
#AB9BF0 #F09BB6 #E0F09B #9BF0D5
split-complementary
#AB9BF0 #F0D59B #B6F09B
monochromatic
#5231E0 #7E66E8 #AB9BF0 #D8D0F8 #E9E4FB

Accessibility & contrast

On white

2.42
#AB9BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#AB9BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9BF0
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9BF0#FFFFFF#000000##000000
##AB9BF01.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F3
Deuteranopia (green-blind)
#85A5EE
Tritanopia (blue-blind)
#9CAABA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab9bf0;
/* rgb */ color: rgb(171, 155, 240);
/* oklch */ color: oklch(73.6% 0.122 291.8);
Tailwind
colors: {
  custom: {
    50: '#c6b8f5',
    500: '#ab9bf0',
    950: '#000000',
  },
}
SCSS
$custom: #ab9bf0;
$custom-light: #c6b8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9bf0",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 240
  },
  "hsl": {
    "h": 251.294,
    "s": 73.913,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73619,
    "c": 0.12175,
    "h": 291.8
  },
  "luminance": 0.38392
}

Semantic roles & 50–950 ramp

primary
#AB9BF0
secondary
#EEF3D8
accent
#D60FB1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB9BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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