#A372E2#A372E2

#A372E2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.0% C 0.166 H 302.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A372E2
RGBrgb(163, 114, 226)
HSLhsl(266, 66%, 67%)
HSVhsv(266, 50%, 89%)
CMYKcmyk(27.9%, 49.6%, 0%, 11.4%)
CIE-LABlab(57.38, 41.57, -50.10)
CIE-LCHlch(57.38, 65.10, 309.68°)
OKLaboklab(64.97% 0.0887 -0.1408)
OKLCHoklch(64.97% 0.166 302.2)
XYZxyz(34.8459, 25.3121, 74.9867)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372E2 #B1E272
analogous
#7279E2 #A372E2 #DB72E2
triadic
#A372E2 #E2A372 #72E2A3
tetradic
#A372E2 #E27279 #B1E272 #72E2DB
square
#A372E2 #E27279 #B1E272 #72E2DB
split-complementary
#A372E2 #E2DB72 #79E272
monochromatic
#6425B4 #823FD8 #A372E2 #C4A5EC #E5D8F7

Accessibility & contrast

On white

3.46
#A372E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A372E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372E2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372E2#FFFFFF#000000##000000
##A372E21.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#5C89DF
Tritanopia (blue-blind)
#9786A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a372e2;
/* rgb */ color: rgb(163, 114, 226);
/* oklch */ color: oklch(65.0% 0.166 302.2);
Tailwind
colors: {
  custom: {
    50: '#c19ceb',
    500: '#a372e2',
    950: '#000000',
  },
}
SCSS
$custom: #a372e2;
$custom-light: #c19ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#a372e2",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 266.25,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64974,
    "c": 0.16643,
    "h": 302.2
  },
  "luminance": 0.25312
}

Semantic roles & 50–950 ramp

primary
#A372E2
secondary
#DAEAC6
accent
#CE187E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A372E2

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

Preview Lab → · Contrast checker → · Palette generator →

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