#A372F0#A372F0

#A372F0 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.184 H 299.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A372F0
RGBrgb(163, 114, 240)
HSLhsl(263, 81%, 69%)
HSVhsv(263, 53%, 94%)
CMYKcmyk(32.1%, 52.5%, 0%, 5.9%)
CIE-LABlab(58.14, 44.99, -56.70)
CIE-LCHlch(58.14, 72.38, 308.43°)
OKLaboklab(65.79% 0.0897 -0.1601)
OKLCHoklch(65.79% 0.184 299.3)
XYZxyz(36.8460, 26.1121, 85.5201)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F0 #BFF072
analogous
#7280F0 #A372F0 #E272F0
triadic
#A372F0 #F0A372 #72F0A3
tetradic
#A372F0 #F07280 #BFF072 #72F0E2
square
#A372F0 #F07280 #BFF072 #72F0E2
split-complementary
#A372F0 #F0E272 #80F072
monochromatic
#5F16D1 #7F3BEA #A372F0 #C7A9F6 #EBE1FC

Accessibility & contrast

On white

3.37
#A372F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A372F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F0#FFFFFF#000000##000000
##A372F01.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428CF4
Deuteranopia (green-blind)
#508BED
Tritanopia (blue-blind)
#938BA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a372f0;
/* rgb */ color: rgb(163, 114, 240);
/* oklch */ color: oklch(65.8% 0.184 299.3);
Tailwind
colors: {
  custom: {
    50: '#c29cf5',
    500: '#a372f0',
    950: '#000000',
  },
}
SCSS
$custom: #a372f0;
$custom-light: #c29cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f0",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 263.333,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65789,
    "c": 0.18355,
    "h": 299.3
  },
  "luminance": 0.26112
}

Semantic roles & 50–950 ramp

primary
#A372F0
secondary
#E3F1CD
accent
#DD088A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372F0

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

Preview Lab → · Contrast checker → · Palette generator →

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