#A372E7#A372E7

#A372E7 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.173 H 301.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A372E7
RGBrgb(163, 114, 231)
HSLhsl(265, 71%, 68%)
HSVhsv(265, 51%, 91%)
CMYKcmyk(29.4%, 50.6%, 0%, 9.4%)
CIE-LABlab(57.65, 42.78, -52.48)
CIE-LCHlch(57.65, 67.70, 309.19°)
OKLaboklab(65.26% 0.0891 -0.1478)
OKLCHoklch(65.26% 0.173 301.1)
XYZxyz(35.5420, 25.5905, 78.6528)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372E7 #B6E772
analogous
#727CE7 #A372E7 #DD72E7
triadic
#A372E7 #E7A372 #72E7A3
tetradic
#A372E7 #E7727C #B6E772 #72E7DD
square
#A372E7 #E7727C #B6E772 #72E7DD
split-complementary
#A372E7 #E7DD72 #7CE772
monochromatic
#6220BE #813EDE #A372E7 #C5A6F0 #E7DBF9

Accessibility & contrast

On white

3.43
#A372E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A372E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372E7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372E7#FFFFFF#000000##000000
##A372E71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEB
Deuteranopia (green-blind)
#588AE4
Tritanopia (blue-blind)
#9688A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a372e7;
/* rgb */ color: rgb(163, 114, 231);
/* oklch */ color: oklch(65.3% 0.173 301.1);
Tailwind
colors: {
  custom: {
    50: '#c19cef',
    500: '#a372e7',
    950: '#000000',
  },
}
SCSS
$custom: #a372e7;
$custom-light: #c19cef;
$custom-dark: #000000;
JSON
{
  "hex": "#a372e7",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 265.128,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6526,
    "c": 0.17256,
    "h": 301.1
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#A372E7
secondary
#DDEDC8
accent
#D31382
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A372E7

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

Preview Lab → · Contrast checker → · Palette generator →

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