#AB95E7#AB95E7

#AB95E7 is a light, moderate violet. Relative luminance 0.359; OKLCH L 72.1% C 0.119 H 295.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AB95E7
RGBrgb(171, 149, 231)
HSLhsl(256, 63%, 75%)
HSVhsv(256, 35%, 91%)
CMYKcmyk(26%, 35.5%, 0%, 9.4%)
CIE-LABlab(66.46, 25.29, -38.53)
CIE-LCHlch(66.46, 46.09, 303.28°)
OKLaboklab(72.08% 0.0513 -0.1071)
OKLCHoklch(72.08% 0.119 295.6)
XYZxyz(41.9624, 35.9219, 80.3087)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95E7 #D1E795
analogous
#95A8E7 #AB95E7 #D495E7
triadic
#AB95E7 #E7AB95 #95E7AB
tetradic
#AB95E7 #E795A8 #D1E795 #95E7D4
square
#AB95E7 #E795A8 #D1E795 #95E7D4
split-complementary
#AB95E7 #E7D495 #A8E795
monochromatic
#5C31D0 #8363DC #AB95E7 #D3C7F2 #EBE6F9

Accessibility & contrast

On white

2.57
#AB95E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AB95E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95E7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95E7#FFFFFF#000000##000000
##AB95E71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A2EA
Deuteranopia (green-blind)
#83A1E5
Tritanopia (blue-blind)
#9FA3B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ab95e7;
/* rgb */ color: rgb(171, 149, 231);
/* oklch */ color: oklch(72.1% 0.119 295.6);
Tailwind
colors: {
  custom: {
    50: '#c5b4ef',
    500: '#ab95e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab95e7;
$custom-light: #c5b4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95e7",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 231
  },
  "hsl": {
    "h": 256.098,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72079,
    "c": 0.1188,
    "h": 295.6
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

primary
#AB95E7
secondary
#EBF1DA
accent
#CB1B9C
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB95E7

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

Preview Lab → · Contrast checker → · Palette generator →

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