#A372F9#A372F9

#A372F9 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.194 H 297.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A372F9
RGBrgb(163, 114, 249)
HSLhsl(262, 92%, 71%)
HSVhsv(262, 54%, 98%)
CMYKcmyk(34.5%, 54.2%, 0%, 2.4%)
CIE-LABlab(58.66, 47.24, -60.86)
CIE-LCHlch(58.66, 77.04, 307.82°)
OKLaboklab(66.34% 0.0901 -0.1723)
OKLCHoklch(66.34% 0.194 297.6)
XYZxyz(38.2162, 26.6602, 92.7367)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F9 #C8F972
analogous
#7284F9 #A372F9 #E772F9
triadic
#A372F9 #F9A372 #72F9A3
tetradic
#A372F9 #F97284 #C8F972 #72F9E7
square
#A372F9 #F97284 #C8F972 #72F9E7
split-complementary
#A372F9 #F9E772 #84F972
monochromatic
#5A0AE7 #7D37F7 #A372F9 #C9ADFB #ECE2FE

Accessibility & contrast

On white

3.32
#A372F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A372F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F9#FFFFFF#000000##000000
##A372F91.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFE
Deuteranopia (green-blind)
#478CF6
Tritanopia (blue-blind)
#908DAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a372f9;
/* rgb */ color: rgb(163, 114, 249);
/* oklch */ color: oklch(66.3% 0.194 297.6);
Tailwind
colors: {
  custom: {
    50: '#c29cfc',
    500: '#a372f9',
    950: '#000000',
  },
}
SCSS
$custom: #a372f9;
$custom-light: #c29cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f9",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 261.778,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.19446,
    "h": 297.6
  },
  "luminance": 0.26661
}

Semantic roles & 50–950 ramp

primary
#A372F9
secondary
#E8F5D2
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372F9

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

Preview Lab → · Contrast checker → · Palette generator →

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