#A372F7#A372F7

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

Color values

HEX#A372F7
RGBrgb(163, 114, 247)
HSLhsl(262, 89%, 71%)
HSVhsv(262, 54%, 97%)
CMYKcmyk(34%, 53.8%, 0%, 3.1%)
CIE-LABlab(58.54, 46.73, -59.94)
CIE-LCHlch(58.54, 76.01, 307.94°)
OKLaboklab(66.21% 0.09 -0.1696)
OKLCHoklch(66.21% 0.192 298)
XYZxyz(37.9059, 26.5361, 91.1026)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F7 #C6F772
analogous
#7283F7 #A372F7 #E572F7
triadic
#A372F7 #F7A372 #72F7A3
tetradic
#A372F7 #F77283 #C6F772 #72F7E5
square
#A372F7 #F77283 #C6F772 #72F7E5
split-complementary
#A372F7 #F7E572 #83F772
monochromatic
#5B0DE2 #7D38F4 #A372F7 #C9ACFA #ECE2FD

Accessibility & contrast

On white

3.33
#A372F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A372F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F7#FFFFFF#000000##000000
##A372F71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFB
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#908DAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a372f7;
/* rgb */ color: rgb(163, 114, 247);
/* oklch */ color: oklch(66.2% 0.192 298.0);
Tailwind
colors: {
  custom: {
    50: '#c29cfa',
    500: '#a372f7',
    950: '#000000',
  },
}
SCSS
$custom: #a372f7;
$custom-light: #c29cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f7",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 262.105,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66213,
    "c": 0.19204,
    "h": 298
  },
  "luminance": 0.26537
}

Semantic roles & 50–950 ramp

primary
#A372F7
secondary
#E7F4D1
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372F7

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

Preview Lab → · Contrast checker → · Palette generator →

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