#A372F6#A372F6

#A372F6 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.191 H 298.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A372F6
RGBrgb(163, 114, 246)
HSLhsl(262, 88%, 71%)
HSVhsv(262, 54%, 96%)
CMYKcmyk(33.7%, 53.7%, 0%, 3.5%)
CIE-LABlab(58.48, 46.48, -59.48)
CIE-LCHlch(58.48, 75.49, 308.01°)
OKLaboklab(66.15% 0.09 -0.1683)
OKLCHoklch(66.15% 0.191 298.1)
XYZxyz(37.7520, 26.4745, 90.2920)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F6 #C5F672
analogous
#7283F6 #A372F6 #E572F6
triadic
#A372F6 #F6A372 #72F6A3
tetradic
#A372F6 #F67283 #C5F672 #72F6E5
square
#A372F6 #F67283 #C5F672 #72F6E5
split-complementary
#A372F6 #F6E572 #83F672
monochromatic
#5C0EDF #7D38F2 #A372F6 #C9ACFA #ECE2FD

Accessibility & contrast

On white

3.34
#A372F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A372F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F6#FFFFFF#000000##000000
##A372F61.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFA
Deuteranopia (green-blind)
#4A8BF3
Tritanopia (blue-blind)
#918CA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a372f6;
/* rgb */ color: rgb(163, 114, 246);
/* oklch */ color: oklch(66.2% 0.191 298.1);
Tailwind
colors: {
  custom: {
    50: '#c29cfa',
    500: '#a372f6',
    950: '#000000',
  },
}
SCSS
$custom: #a372f6;
$custom-light: #c29cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f6",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 262.273,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66152,
    "c": 0.19083,
    "h": 298.1
  },
  "luminance": 0.26475
}

Semantic roles & 50–950 ramp

primary
#A372F6
secondary
#E7F4D0
accent
#E50190
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372F6

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

Preview Lab → · Contrast checker → · Palette generator →

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