#A372DB#A372DB

#A372DB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.6% C 0.158 H 303.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A372DB
RGBrgb(163, 114, 219)
HSLhsl(268, 59%, 65%)
HSVhsv(268, 48%, 86%)
CMYKcmyk(25.6%, 47.9%, 0%, 14.1%)
CIE-LABlab(57.01, 39.90, -46.76)
CIE-LCHlch(57.01, 61.46, 310.47°)
OKLaboklab(64.58% 0.0879 -0.1311)
OKLCHoklch(64.58% 0.158 303.9)
XYZxyz(33.9050, 24.9357, 70.0310)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372DB #AADB72
analogous
#7275DB #A372DB #D772DB
triadic
#A372DB #DBA372 #72DBA3
tetradic
#A372DB #DB7275 #AADB72 #72DBD7
square
#A372DB #DB7275 #AADB72 #72DBD7
split-complementary
#A372DB #DBD772 #75DB72
monochromatic
#652BA8 #8341CF #A372DB #C3A3E7 #E3D4F4

Accessibility & contrast

On white

3.51
#A372DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A372DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372DB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372DB#FFFFFF#000000##000000
##A372DB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488DF
Deuteranopia (green-blind)
#6089D8
Tritanopia (blue-blind)
#99849C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a372db;
/* rgb */ color: rgb(163, 114, 219);
/* oklch */ color: oklch(64.6% 0.158 303.9);
Tailwind
colors: {
  custom: {
    50: '#c19be6',
    500: '#a372db',
    950: '#000000',
  },
}
SCSS
$custom: #a372db;
$custom-light: #c19be6;
$custom-dark: #000000;
JSON
{
  "hex": "#a372db",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 268,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64583,
    "c": 0.15783,
    "h": 303.9
  },
  "luminance": 0.24936
}

Semantic roles & 50–950 ramp

primary
#A372DB
secondary
#D6E6C3
accent
#C71F78
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A372DB

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

Preview Lab → · Contrast checker → · Palette generator →

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