#AB94E5#AB94E5

#AB94E5 is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.8% C 0.118 H 296.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AB94E5
RGBrgb(171, 148, 229)
HSLhsl(257, 61%, 74%)
HSVhsv(257, 35%, 90%)
CMYKcmyk(25.3%, 35.4%, 0%, 10.2%)
CIE-LABlab(66.13, 25.38, -37.94)
CIE-LCHlch(66.13, 45.64, 303.78°)
OKLaboklab(71.8% 0.0523 -0.1054)
OKLCHoklch(71.8% 0.118 296.4)
XYZxyz(41.5240, 35.4945, 78.7770)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94E5 #CEE594
analogous
#94A6E5 #AB94E5 #D494E5
triadic
#AB94E5 #E5AB94 #94E5AB
tetradic
#AB94E5 #E594A6 #CEE594 #94E5D4
square
#AB94E5 #E594A6 #CEE594 #94E5D4
split-complementary
#AB94E5 #E5D494 #A6E594
monochromatic
#5E32CD #8463D9 #AB94E5 #D2C5F1 #ECE6F9

Accessibility & contrast

On white

2.59
#AB94E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AB94E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94E5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94E5#FFFFFF#000000##000000
##AB94E51.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E8
Deuteranopia (green-blind)
#83A0E3
Tritanopia (blue-blind)
#9FA2B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab94e5;
/* rgb */ color: rgb(171, 148, 229);
/* oklch */ color: oklch(71.8% 0.118 296.4);
Tailwind
colors: {
  custom: {
    50: '#c5b3ed',
    500: '#ab94e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab94e5;
$custom-light: #c5b3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94e5",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 229
  },
  "hsl": {
    "h": 257.037,
    "s": 60.902,
    "l": 73.922
  },
  "oklch": {
    "l": 0.718,
    "c": 0.11768,
    "h": 296.4
  },
  "luminance": 0.35495
}

Semantic roles & 50–950 ramp

primary
#AB94E5
secondary
#EAF0DB
accent
#C91D98
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB94E5

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

Preview Lab → · Contrast checker → · Palette generator →

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