#A372EC#A372EC

#A372EC is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.179 H 300.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A372EC
RGBrgb(163, 114, 236)
HSLhsl(264, 76%, 69%)
HSVhsv(264, 52%, 93%)
CMYKcmyk(30.9%, 51.7%, 0%, 7.5%)
CIE-LABlab(57.92, 44.01, -54.83)
CIE-LCHlch(57.92, 70.30, 308.75°)
OKLaboklab(65.55% 0.0895 -0.1546)
OKLCHoklch(65.55% 0.179 300.1)
XYZxyz(36.2583, 25.8771, 82.4252)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372EC #BBEC72
analogous
#727EEC #A372EC #E072EC
triadic
#A372EC #ECA372 #72ECA3
tetradic
#A372EC #EC727E #BBEC72 #72ECE0
square
#A372EC #EC727E #BBEC72 #72ECE0
split-complementary
#A372EC #ECE072 #7EEC72
monochromatic
#611BC9 #803CE5 #A372EC #C6A8F3 #E9DEFB

Accessibility & contrast

On white

3.40
#A372EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A372EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372EC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372EC#FFFFFF#000000##000000
##A372EC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#9489A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a372ec;
/* rgb */ color: rgb(163, 114, 236);
/* oklch */ color: oklch(65.6% 0.179 300.1);
Tailwind
colors: {
  custom: {
    50: '#c29cf3',
    500: '#a372ec',
    950: '#000000',
  },
}
SCSS
$custom: #a372ec;
$custom-light: #c29cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a372ec",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 264.098,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65552,
    "c": 0.17867,
    "h": 300.1
  },
  "luminance": 0.25877
}

Semantic roles & 50–950 ramp

primary
#A372EC
secondary
#E0EFCB
accent
#D80D87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372EC

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

Preview Lab → · Contrast checker → · Palette generator →

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