#A372DC#A372DC

#A372DC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.6% C 0.159 H 303.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A372DC
RGBrgb(163, 114, 220)
HSLhsl(268, 60%, 65%)
HSVhsv(268, 48%, 86%)
CMYKcmyk(25.9%, 48.2%, 0%, 13.7%)
CIE-LABlab(57.06, 40.13, -47.24)
CIE-LCHlch(57.06, 61.98, 310.35°)
OKLaboklab(64.64% 0.0881 -0.1325)
OKLCHoklch(64.64% 0.159 303.6)
XYZxyz(34.0370, 24.9885, 70.7264)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372DC #ABDC72
analogous
#7276DC #A372DC #D872DC
triadic
#A372DC #DCA372 #72DCA3
tetradic
#A372DC #DC7276 #ABDC72 #72DCD8
square
#A372DC #DC7276 #ABDC72 #72DCD8
split-complementary
#A372DC #DCD872 #76DC72
monochromatic
#652AAA #8341D0 #A372DC #C3A3E8 #E3D4F4

Accessibility & contrast

On white

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

On black

6.00
#A372DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372DC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372DC#FFFFFF#000000##000000
##A372DC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#99859D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a372dc;
/* rgb */ color: rgb(163, 114, 220);
/* oklch */ color: oklch(64.6% 0.159 303.6);
Tailwind
colors: {
  custom: {
    50: '#c19ce7',
    500: '#a372dc',
    950: '#000000',
  },
}
SCSS
$custom: #a372dc;
$custom-light: #c19ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a372dc",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 267.736,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64638,
    "c": 0.15906,
    "h": 303.6
  },
  "luminance": 0.24988
}

Semantic roles & 50–950 ramp

primary
#A372DC
secondary
#D6E7C3
accent
#C81E79
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A372DC

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

Preview Lab → · Contrast checker → · Palette generator →

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