#A372FC#A372FC

#A372FC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.198 H 297.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A372FC
RGBrgb(163, 114, 252)
HSLhsl(261, 96%, 72%)
HSVhsv(261, 55%, 99%)
CMYKcmyk(35.3%, 54.8%, 0%, 1.2%)
CIE-LABlab(58.83, 47.99, -62.23)
CIE-LCHlch(58.83, 78.59, 307.64°)
OKLaboklab(66.52% 0.0902 -0.1764)
OKLCHoklch(66.52% 0.198 297.1)
XYZxyz(38.6878, 26.8489, 95.2207)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372FC #CBFC72
analogous
#7286FC #A372FC #E872FC
triadic
#A372FC #FCA372 #72FCA3
tetradic
#A372FC #FC7286 #CBFC72 #72FCE8
square
#A372FC #FC7286 #CBFC72 #72FCE8
split-complementary
#A372FC #FCE872 #86FC72
monochromatic
#5805EF #7C36FB #A372FC #CAAEFD #EBE1FE

Accessibility & contrast

On white

3.30
#A372FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A372FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372FC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372FC#FFFFFF#000000##000000
##A372FC1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#8F8EAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a372fc;
/* rgb */ color: rgb(163, 114, 252);
/* oklch */ color: oklch(66.5% 0.198 297.1);
Tailwind
colors: {
  custom: {
    50: '#c39cfe',
    500: '#a372fc',
    950: '#000000',
  },
}
SCSS
$custom: #a372fc;
$custom-light: #c39cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a372fc",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 261.304,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66522,
    "c": 0.19809,
    "h": 297.1
  },
  "luminance": 0.26849
}

Semantic roles & 50–950 ramp

primary
#A372FC
secondary
#EAF6D3
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A372FC

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

Preview Lab → · Contrast checker → · Palette generator →

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