#A372F8#A372F8

#A372F8 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.193 H 297.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A372F8
RGBrgb(163, 114, 248)
HSLhsl(262, 91%, 71%)
HSVhsv(262, 54%, 97%)
CMYKcmyk(34.3%, 54%, 0%, 2.7%)
CIE-LABlab(58.60, 46.98, -60.40)
CIE-LCHlch(58.60, 76.52, 307.88°)
OKLaboklab(66.27% 0.0901 -0.171)
OKLCHoklch(66.27% 0.193 297.8)
XYZxyz(38.0606, 26.5980, 91.9174)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F8 #C7F872
analogous
#7284F8 #A372F8 #E672F8
triadic
#A372F8 #F8A372 #72F8A3
tetradic
#A372F8 #F87284 #C7F872 #72F8E6
square
#A372F8 #F87284 #C7F872 #72F8E6
split-complementary
#A372F8 #F8E672 #84F872
monochromatic
#5B0BE4 #7D38F5 #A372F8 #C9ACFB #ECE2FE

Accessibility & contrast

On white

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

On black

6.32
#A372F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F8#FFFFFF#000000##000000
##A372F81.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFD
Deuteranopia (green-blind)
#488CF5
Tritanopia (blue-blind)
#908DAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a372f8;
/* rgb */ color: rgb(163, 114, 248);
/* oklch */ color: oklch(66.3% 0.193 297.8);
Tailwind
colors: {
  custom: {
    50: '#c29cfb',
    500: '#a372f8',
    950: '#000000',
  },
}
SCSS
$custom: #a372f8;
$custom-light: #c29cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f8",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 261.94,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66275,
    "c": 0.19325,
    "h": 297.8
  },
  "luminance": 0.26598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A372F8

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

Preview Lab → · Contrast checker → · Palette generator →

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