#A97FDB#A97FDB

#A97FDB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.4% C 0.138 H 304.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A97FDB
RGBrgb(169, 127, 219)
HSLhsl(267, 56%, 68%)
HSVhsv(267, 42%, 86%)
CMYKcmyk(22.8%, 42%, 0%, 14.1%)
CIE-LABlab(60.54, 34.29, -41.15)
CIE-LCHlch(60.54, 53.56, 309.80°)
OKLaboklab(67.37% 0.0773 -0.1147)
OKLCHoklch(67.37% 0.138 304)
XYZxyz(36.7350, 28.7283, 70.6139)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A97FDB #B1DB7F
analogous
#7F83DB #A97FDB #D77FDB
triadic
#A97FDB #DBA97F #7FDBA9
tetradic
#A97FDB #DB7F83 #B1DB7F #7FDBD7
square
#A97FDB #DB7F83 #B1DB7F #7FDBD7
split-complementary
#A97FDB #DBD77F #83DB7F
monochromatic
#6A31AF #894FCE #A97FDB #C9AFE8 #E9DFF6

Accessibility & contrast

On white

3.11
#A97FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A97FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A97FDB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A97FDB#FFFFFF#000000##000000
##A97FDB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DE
Deuteranopia (green-blind)
#7292D9
Tritanopia (blue-blind)
#A18EA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a97fdb;
/* rgb */ color: rgb(169, 127, 219);
/* oklch */ color: oklch(67.4% 0.138 304.0);
Tailwind
colors: {
  custom: {
    50: '#c4a5e6',
    500: '#a97fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a97fdb;
$custom-light: #c4a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a97fdb",
  "rgb": {
    "r": 169,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 267.391,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.13828,
    "h": 304
  },
  "luminance": 0.28728
}

Semantic roles & 50–950 ramp

primary
#A97FDB
secondary
#DCE9CD
accent
#C4227A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A97FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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