#A372EF#A372EF

#A372EF is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.7% C 0.182 H 299.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A372EF
RGBrgb(163, 114, 239)
HSLhsl(264, 80%, 69%)
HSVhsv(264, 52%, 94%)
CMYKcmyk(31.8%, 52.3%, 0%, 6.3%)
CIE-LABlab(58.09, 44.74, -56.23)
CIE-LCHlch(58.09, 71.86, 308.51°)
OKLaboklab(65.73% 0.0897 -0.1588)
OKLCHoklch(65.73% 0.182 299.5)
XYZxyz(36.6978, 26.0529, 84.7399)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372EF #BEEF72
analogous
#7280EF #A372EF #E272EF
triadic
#A372EF #EFA372 #72EFA3
tetradic
#A372EF #EF7280 #BEEF72 #72EFE2
square
#A372EF #EF7280 #BEEF72 #72EFE2
split-complementary
#A372EF #EFE272 #80EF72
monochromatic
#5F18CF #7F3BE9 #A372EF #C7A9F5 #EBE0FB

Accessibility & contrast

On white

3.38
#A372EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A372EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372EF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372EF#FFFFFF#000000##000000
##A372EF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#938AA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a372ef;
/* rgb */ color: rgb(163, 114, 239);
/* oklch */ color: oklch(65.7% 0.182 299.5);
Tailwind
colors: {
  custom: {
    50: '#c29cf5',
    500: '#a372ef',
    950: '#000000',
  },
}
SCSS
$custom: #a372ef;
$custom-light: #c29cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a372ef",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 263.52,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6573,
    "c": 0.18233,
    "h": 299.5
  },
  "luminance": 0.26053
}

Semantic roles & 50–950 ramp

primary
#A372EF
secondary
#E2F1CC
accent
#DC0A89
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372EF

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

Preview Lab → · Contrast checker → · Palette generator →

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