#A372DD#A372DD

#A372DD is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.7% C 0.160 H 303.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A372DD
RGBrgb(163, 114, 221)
HSLhsl(267, 61%, 66%)
HSVhsv(267, 48%, 87%)
CMYKcmyk(26.2%, 48.4%, 0%, 13.3%)
CIE-LABlab(57.12, 40.37, -47.72)
CIE-LCHlch(57.12, 62.50, 310.23°)
OKLaboklab(64.69% 0.0882 -0.1339)
OKLCHoklch(64.69% 0.16 303.4)
XYZxyz(34.1699, 25.0417, 71.4260)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372DD #ACDD72
analogous
#7276DD #A372DD #D972DD
triadic
#A372DD #DDA372 #72DDA3
tetradic
#A372DD #DD7276 #ACDD72 #72DDD9
square
#A372DD #DD7276 #ACDD72 #72DDD9
split-complementary
#A372DD #DDD972 #76DD72
monochromatic
#6529AB #8341D1 #A372DD #C3A3E9 #E3D5F5

Accessibility & contrast

On white

3.50
#A372DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A372DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372DD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372DD#FFFFFF#000000##000000
##A372DD1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#5F89DA
Tritanopia (blue-blind)
#99859D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a372dd;
/* rgb */ color: rgb(163, 114, 221);
/* oklch */ color: oklch(64.7% 0.160 303.4);
Tailwind
colors: {
  custom: {
    50: '#c19ce8',
    500: '#a372dd',
    950: '#000000',
  },
}
SCSS
$custom: #a372dd;
$custom-light: #c19ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#a372dd",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 267.477,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64693,
    "c": 0.16029,
    "h": 303.4
  },
  "luminance": 0.25042
}

Semantic roles & 50–950 ramp

primary
#A372DD
secondary
#D7E7C4
accent
#C91D7A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A372DD

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

Preview Lab → · Contrast checker → · Palette generator →

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