#A372DF#A372DF

#A372DF is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.8% C 0.163 H 302.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A372DF
RGBrgb(163, 114, 223)
HSLhsl(267, 63%, 66%)
HSVhsv(267, 49%, 87%)
CMYKcmyk(26.9%, 48.9%, 0%, 12.5%)
CIE-LABlab(57.22, 40.85, -48.67)
CIE-LCHlch(57.22, 63.54, 310.00°)
OKLaboklab(64.81% 0.0884 -0.1367)
OKLCHoklch(64.81% 0.163 302.9)
XYZxyz(34.4379, 25.1489, 72.8377)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372DF #AEDF72
analogous
#7277DF #A372DF #D972DF
triadic
#A372DF #DFA372 #72DFA3
tetradic
#A372DF #DF7277 #AEDF72 #72DFD9
square
#A372DF #DF7277 #AEDF72 #72DFD9
split-complementary
#A372DF #DFD972 #77DF72
monochromatic
#6428AF #8240D4 #A372DF #C4A4EA #E4D6F6

Accessibility & contrast

On white

3.48
#A372DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A372DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372DF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372DF#FFFFFF#000000##000000
##A372DF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#98869E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a372df;
/* rgb */ color: rgb(163, 114, 223);
/* oklch */ color: oklch(64.8% 0.163 302.9);
Tailwind
colors: {
  custom: {
    50: '#c19ce9',
    500: '#a372df',
    950: '#000000',
  },
}
SCSS
$custom: #a372df;
$custom-light: #c19ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#a372df",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 266.972,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.16274,
    "h": 302.9
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#A372DF
secondary
#D8E8C4
accent
#CB1B7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A372DF

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

Preview Lab → · Contrast checker → · Palette generator →

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