#AB95E6#AB95E6

#AB95E6 is a light, moderate violet. Relative luminance 0.359; OKLCH L 72.0% C 0.117 H 295.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AB95E6
RGBrgb(171, 149, 230)
HSLhsl(256, 62%, 74%)
HSVhsv(256, 35%, 90%)
CMYKcmyk(25.7%, 35.2%, 0%, 9.8%)
CIE-LABlab(66.42, 25.05, -38.05)
CIE-LCHlch(66.42, 45.55, 303.36°)
OKLaboklab(72.03% 0.0511 -0.1057)
OKLCHoklch(72.03% 0.117 295.8)
XYZxyz(41.8216, 35.8655, 79.5670)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB95E6 #D0E695
analogous
#95A8E6 #AB95E6 #D495E6
triadic
#AB95E6 #E6AB95 #95E6AB
tetradic
#AB95E6 #E695A8 #D0E695 #95E6D4
square
#AB95E6 #E695A8 #D0E695 #95E6D4
split-complementary
#AB95E6 #E6D495 #A8E695
monochromatic
#5D32CF #8463DA #AB95E6 #D2C7F2 #EBE6F9

Accessibility & contrast

On white

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

On black

8.17
#AB95E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB95E6
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB95E6#FFFFFF#000000##000000
##AB95E61.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A2E9
Deuteranopia (green-blind)
#83A0E4
Tritanopia (blue-blind)
#9FA3B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab95e6;
/* rgb */ color: rgb(171, 149, 230);
/* oklch */ color: oklch(72.0% 0.117 295.8);
Tailwind
colors: {
  custom: {
    50: '#c5b4ee',
    500: '#ab95e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab95e6;
$custom-light: #c5b4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab95e6",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 230
  },
  "hsl": {
    "h": 256.296,
    "s": 61.832,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72032,
    "c": 0.11744,
    "h": 295.8
  },
  "luminance": 0.35866
}

Semantic roles & 50–950 ramp

primary
#AB95E6
secondary
#EBF1DA
accent
#CA1C9A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB95E6

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

Preview Lab → · Contrast checker → · Palette generator →

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