#AB94E7#AB94E7

#AB94E7 is a light, vivid violet. Relative luminance 0.356; OKLCH L 71.9% C 0.120 H 296.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AB94E7
RGBrgb(171, 148, 231)
HSLhsl(257, 63%, 74%)
HSVhsv(257, 36%, 91%)
CMYKcmyk(26%, 35.9%, 0%, 9.4%)
CIE-LABlab(66.22, 25.86, -38.91)
CIE-LCHlch(66.22, 46.72, 303.61°)
OKLaboklab(71.89% 0.0527 -0.1082)
OKLCHoklch(71.89% 0.12 296)
XYZxyz(41.8049, 35.6068, 80.2561)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94E7 #D0E794
analogous
#94A7E7 #AB94E7 #D594E7
triadic
#AB94E7 #E7AB94 #94E7AB
tetradic
#AB94E7 #E794A7 #D0E794 #94E7D5
square
#AB94E7 #E794A7 #D0E794 #94E7D5
split-complementary
#AB94E7 #E7D594 #A7E794
monochromatic
#5D30D1 #8462DC #AB94E7 #D2C6F2 #EBE6F9

Accessibility & contrast

On white

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

On black

8.12
#AB94E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94E7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94E7#FFFFFF#000000##000000
##AB94E71.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA1EA
Deuteranopia (green-blind)
#82A0E5
Tritanopia (blue-blind)
#9FA2B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab94e7;
/* rgb */ color: rgb(171, 148, 231);
/* oklch */ color: oklch(71.9% 0.120 296.0);
Tailwind
colors: {
  custom: {
    50: '#c5b3ef',
    500: '#ab94e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab94e7;
$custom-light: #c5b3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94e7",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 231
  },
  "hsl": {
    "h": 256.627,
    "s": 63.359,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71894,
    "c": 0.12038,
    "h": 296
  },
  "luminance": 0.35607
}

Semantic roles & 50–950 ramp

primary
#AB94E7
secondary
#EBF1DA
accent
#CB1A9A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB94E7

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

Preview Lab → · Contrast checker → · Palette generator →

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