#A372F5#A372F5

#A372F5 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.190 H 298.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A372F5
RGBrgb(163, 114, 245)
HSLhsl(262, 87%, 70%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.5%, 53.5%, 0%, 3.9%)
CIE-LABlab(58.43, 46.23, -59.02)
CIE-LCHlch(58.43, 74.97, 308.08°)
OKLaboklab(66.09% 0.09 -0.1669)
OKLCHoklch(66.09% 0.19 298.3)
XYZxyz(37.5990, 26.4133, 89.4859)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F5 #C4F572
analogous
#7282F5 #A372F5 #E572F5
triadic
#A372F5 #F5A372 #72F5A3
tetradic
#A372F5 #F57282 #C4F572 #72F5E5
square
#A372F5 #F57282 #C4F572 #72F5E5
split-complementary
#A372F5 #F5E572 #82F572
monochromatic
#5C10DD #7E39F1 #A372F5 #C8ABF9 #ECE2FD

Accessibility & contrast

On white

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

On black

6.28
#A372F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F5#FFFFFF#000000##000000
##A372F51.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#918CA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a372f5;
/* rgb */ color: rgb(163, 114, 245);
/* oklch */ color: oklch(66.1% 0.190 298.3);
Tailwind
colors: {
  custom: {
    50: '#c29cf9',
    500: '#a372f5',
    950: '#000000',
  },
}
SCSS
$custom: #a372f5;
$custom-light: #c29cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f5",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 262.443,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66091,
    "c": 0.18962,
    "h": 298.3
  },
  "luminance": 0.26414
}

Semantic roles & 50–950 ramp

primary
#A372F5
secondary
#E6F3CF
accent
#E3028F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372F5

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

Preview Lab → · Contrast checker → · Palette generator →

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