#AB95E5#AB95E5

#AB95E5 is a light, moderate violet. Relative luminance 0.358; OKLCH L 72.0% C 0.116 H 296.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AB95E5
RGBrgb(171, 149, 229)
HSLhsl(257, 61%, 74%)
HSVhsv(257, 35%, 90%)
CMYKcmyk(25.3%, 34.9%, 0%, 10.2%)
CIE-LABlab(66.37, 24.81, -37.56)
CIE-LCHlch(66.37, 45.02, 303.45°)
OKLaboklab(71.99% 0.0509 -0.1043)
OKLCHoklch(71.99% 0.116 296)
XYZxyz(41.6816, 35.8095, 78.8295)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95E5 #CFE595
analogous
#95A7E5 #AB95E5 #D395E5
triadic
#AB95E5 #E5AB95 #95E5AB
tetradic
#AB95E5 #E595A7 #CFE595 #95E5D3
square
#AB95E5 #E595A7 #CFE595 #95E5D3
split-complementary
#AB95E5 #E5D395 #A7E595
monochromatic
#5D33CD #8464D9 #AB95E5 #D2C6F1 #ECE6F9

Accessibility & contrast

On white

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

On black

8.16
#AB95E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95E5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95E5#FFFFFF#000000##000000
##AB95E51.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A2E8
Deuteranopia (green-blind)
#84A0E3
Tritanopia (blue-blind)
#9FA2B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab95e5;
/* rgb */ color: rgb(171, 149, 229);
/* oklch */ color: oklch(72.0% 0.116 296.0);
Tailwind
colors: {
  custom: {
    50: '#c5b4ed',
    500: '#ab95e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab95e5;
$custom-light: #c5b4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95e5",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 229
  },
  "hsl": {
    "h": 256.5,
    "s": 60.606,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71985,
    "c": 0.11609,
    "h": 296
  },
  "luminance": 0.3581
}

Semantic roles & 50–950 ramp

primary
#AB95E5
secondary
#EAF0DB
accent
#C81D99
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB95E5

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

Preview Lab → · Contrast checker → · Palette generator →

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