#A372FE#A372FE

#A372FE is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.6% C 0.201 H 296.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A372FE
RGBrgb(163, 114, 254)
HSLhsl(261, 99%, 72%)
HSVhsv(261, 55%, 100%)
CMYKcmyk(35.8%, 55.1%, 0%, 0.4%)
CIE-LABlab(58.95, 48.50, -63.15)
CIE-LCHlch(58.95, 79.62, 307.52°)
OKLaboklab(66.65% 0.0902 -0.179)
OKLCHoklch(66.65% 0.201 296.7)
XYZxyz(39.0064, 26.9763, 96.8986)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372FE #CDFE72
analogous
#7287FE #A372FE #E972FE
triadic
#A372FE #FEA372 #72FEA3
tetradic
#A372FE #FE7287 #CDFE72 #72FEE9
square
#A372FE #FE7287 #CDFE72 #72FEE9
split-complementary
#A372FE #FEE972 #87FE72
monochromatic
#5602F4 #7B35FE #A372FE #CBAFFE #EBE1FF

Accessibility & contrast

On white

3.28
#A372FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A372FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372FE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372FE#FFFFFF#000000##000000
##A372FE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#418CFB
Tritanopia (blue-blind)
#8E8FAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a372fe;
/* rgb */ color: rgb(163, 114, 254);
/* oklch */ color: oklch(66.6% 0.201 296.7);
Tailwind
colors: {
  custom: {
    50: '#c39cff',
    500: '#a372fe',
    950: '#000000',
  },
}
SCSS
$custom: #a372fe;
$custom-light: #c39cff;
$custom-dark: #000000;
JSON
{
  "hex": "#a372fe",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 261,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66647,
    "c": 0.2005,
    "h": 296.7
  },
  "luminance": 0.26977
}

Semantic roles & 50–950 ramp

primary
#A372FE
secondary
#EBF7D4
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A372FE

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

Preview Lab → · Contrast checker → · Palette generator →

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