#AB9BF2#AB9BF2

#AB9BF2 is a light, vivid violet. Relative luminance 0.385; OKLCH L 73.7% C 0.124 H 291.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AB9BF2
RGBrgb(171, 155, 242)
HSLhsl(251, 77%, 78%)
HSVhsv(251, 36%, 95%)
CMYKcmyk(29.3%, 36%, 0%, 5.1%)
CIE-LABlab(68.40, 24.59, -41.54)
CIE-LCHlch(68.40, 48.27, 300.62°)
OKLaboklab(73.71% 0.0456 -0.1158)
OKLCHoklch(73.71% 0.124 291.5)
XYZxyz(44.5389, 38.5106, 89.0739)
Luminance0.3851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9BF2 #E2F29B
analogous
#9BB7F2 #AB9BF2 #D69BF2
triadic
#AB9BF2 #F2AB9B #9BF2AB
tetradic
#AB9BF2 #F29BB7 #E2F29B #9BF2D6
square
#AB9BF2 #F29BB7 #E2F29B #9BF2D6
split-complementary
#AB9BF2 #F2D69B #B7F29B
monochromatic
#502FE4 #7E65EB #AB9BF2 #D8D1F9 #E8E4FB

Accessibility & contrast

On white

2.41
#AB9BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AB9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9BF2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9BF2#FFFFFF#000000##000000
##AB9BF21.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#9BAABB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ab9bf2;
/* rgb */ color: rgb(171, 155, 242);
/* oklch */ color: oklch(73.7% 0.124 291.5);
Tailwind
colors: {
  custom: {
    50: '#c6b8f6',
    500: '#ab9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ab9bf2;
$custom-light: #c6b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9bf2",
  "rgb": {
    "r": 171,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 251.034,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.12448,
    "h": 291.5
  },
  "luminance": 0.38511
}

Semantic roles & 50–950 ramp

primary
#AB9BF2
secondary
#EEF3D8
accent
#D90CB4
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AB9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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