#A897EA#A897EA

#A897EA is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.3% C 0.120 H 292.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A897EA
RGBrgb(168, 151, 234)
HSLhsl(252, 66%, 75%)
HSVhsv(252, 35%, 92%)
CMYKcmyk(28.2%, 35.5%, 0%, 8.2%)
CIE-LABlab(66.82, 24.03, -39.63)
CIE-LCHlch(66.82, 46.35, 301.23°)
OKLaboklab(72.34% 0.0459 -0.1104)
OKLCHoklch(72.34% 0.12 292.6)
XYZxyz(42.0627, 36.3979, 82.6354)
Luminance0.3640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A897EA #D9EA97
analogous
#97AFEA #A897EA #D197EA
triadic
#A897EA #EAA897 #97EAA8
tetradic
#A897EA #EA97AF #D9EA97 #97EAD1
square
#A897EA #EA97AF #D9EA97 #97EAD1
split-complementary
#A897EA #EAD197 #AFEA97
monochromatic
#5331D5 #7D64E0 #A897EA #D3CAF4 #EAE6FA

Accessibility & contrast

On white

2.54
#A897EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A897EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A897EA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A897EA#FFFFFF#000000##000000
##A897EA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4ED
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#99A6B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a897ea;
/* rgb */ color: rgb(168, 151, 234);
/* oklch */ color: oklch(72.3% 0.120 292.6);
Tailwind
colors: {
  custom: {
    50: '#c3b5f1',
    500: '#a897ea',
    950: '#000000',
  },
}
SCSS
$custom: #a897ea;
$custom-light: #c3b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a897ea",
  "rgb": {
    "r": 168,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 252.289,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72337,
    "c": 0.11951,
    "h": 292.6
  },
  "luminance": 0.36399
}

Semantic roles & 50–950 ramp

primary
#A897EA
secondary
#ECF1DA
accent
#CE17A9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #A897EA

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

Preview Lab → · Contrast checker → · Palette generator →

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