#AB94E6#AB94E6

#AB94E6 is a light, moderate violet. Relative luminance 0.356; OKLCH L 71.8% C 0.119 H 296.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AB94E6
RGBrgb(171, 148, 230)
HSLhsl(257, 62%, 74%)
HSVhsv(257, 36%, 90%)
CMYKcmyk(25.7%, 35.7%, 0%, 9.8%)
CIE-LABlab(66.17, 25.62, -38.42)
CIE-LCHlch(66.17, 46.18, 303.69°)
OKLaboklab(71.85% 0.0525 -0.1068)
OKLCHoklch(71.85% 0.119 296.2)
XYZxyz(41.6641, 35.5505, 79.5145)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB94E6 #CFE694
analogous
#94A6E6 #AB94E6 #D494E6
triadic
#AB94E6 #E6AB94 #94E6AB
tetradic
#AB94E6 #E694A6 #CFE694 #94E6D4
square
#AB94E6 #E694A6 #CFE694 #94E6D4
split-complementary
#AB94E6 #E6D494 #A6E694
monochromatic
#5D31CF #8462DA #AB94E6 #D2C6F2 #ECE6F9

Accessibility & contrast

On white

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

On black

8.11
#AB94E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB94E6
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB94E6#FFFFFF#000000##000000
##AB94E61.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E9
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#9FA2B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab94e6;
/* rgb */ color: rgb(171, 148, 230);
/* oklch */ color: oklch(71.8% 0.119 296.2);
Tailwind
colors: {
  custom: {
    50: '#c5b3ee',
    500: '#ab94e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab94e6;
$custom-light: #c5b3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab94e6",
  "rgb": {
    "r": 171,
    "g": 148,
    "b": 230
  },
  "hsl": {
    "h": 256.829,
    "s": 62.121,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71847,
    "c": 0.11902,
    "h": 296.2
  },
  "luminance": 0.35551
}

Semantic roles & 50–950 ramp

primary
#AB94E6
secondary
#EAF1DA
accent
#CA1C99
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB94E6

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

Preview Lab → · Contrast checker → · Palette generator →

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