#A372F4#A372F4

#A372F4 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.188 H 298.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A372F4
RGBrgb(163, 114, 244)
HSLhsl(263, 86%, 70%)
HSVhsv(263, 53%, 96%)
CMYKcmyk(33.2%, 53.3%, 0%, 4.3%)
CIE-LABlab(58.37, 45.99, -58.55)
CIE-LCHlch(58.37, 74.45, 308.14°)
OKLaboklab(66.03% 0.0899 -0.1656)
OKLCHoklch(66.03% 0.188 298.5)
XYZxyz(37.4467, 26.3524, 88.6841)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F4 #C3F472
analogous
#7282F4 #A372F4 #E472F4
triadic
#A372F4 #F4A372 #72F4A3
tetradic
#A372F4 #F47282 #C3F472 #72F4E4
square
#A372F4 #F47282 #C3F472 #72F4E4
split-complementary
#A372F4 #F4E472 #82F472
monochromatic
#5D11DB #7E39F0 #A372F4 #C8ABF8 #ECE3FD

Accessibility & contrast

On white

3.35
#A372F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A372F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F4#FFFFFF#000000##000000
##A372F41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF8
Deuteranopia (green-blind)
#4C8BF1
Tritanopia (blue-blind)
#918CA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a372f4;
/* rgb */ color: rgb(163, 114, 244);
/* oklch */ color: oklch(66.0% 0.188 298.5);
Tailwind
colors: {
  custom: {
    50: '#c29cf8',
    500: '#a372f4',
    950: '#000000',
  },
}
SCSS
$custom: #a372f4;
$custom-light: #c29cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f4",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 262.615,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6603,
    "c": 0.18841,
    "h": 298.5
  },
  "luminance": 0.26353
}

Semantic roles & 50–950 ramp

primary
#A372F4
secondary
#E5F3CF
accent
#E2038E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372F4

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

Preview Lab → · Contrast checker → · Palette generator →

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