#A372FB#A372FB

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

Color values

HEX#A372FB
RGBrgb(163, 114, 251)
HSLhsl(261, 94%, 72%)
HSVhsv(261, 55%, 98%)
CMYKcmyk(35.1%, 54.6%, 0%, 1.6%)
CIE-LABlab(58.78, 47.74, -61.78)
CIE-LCHlch(58.78, 78.07, 307.70°)
OKLaboklab(66.46% 0.0901 -0.175)
OKLCHoklch(66.46% 0.197 297.3)
XYZxyz(38.5298, 26.7856, 94.3883)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372FB #CAFB72
analogous
#7286FB #A372FB #E872FB
triadic
#A372FB #FBA372 #72FBA3
tetradic
#A372FB #FB7286 #CAFB72 #72FBE8
square
#A372FB #FB7286 #CAFB72 #72FBE8
split-complementary
#A372FB #FBE872 #86FB72
monochromatic
#5907EC #7C36F9 #A372FB #CAAEFD #ECE1FE

Accessibility & contrast

On white

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

On black

6.36
#A372FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372FB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372FB#FFFFFF#000000##000000
##A372FB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#8F8EAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a372fb;
/* rgb */ color: rgb(163, 114, 251);
/* oklch */ color: oklch(66.5% 0.197 297.3);
Tailwind
colors: {
  custom: {
    50: '#c39cfd',
    500: '#a372fb',
    950: '#000000',
  },
}
SCSS
$custom: #a372fb;
$custom-light: #c39cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a372fb",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 261.46,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.19688,
    "h": 297.3
  },
  "luminance": 0.26786
}

Semantic roles & 50–950 ramp

primary
#A372FB
secondary
#E9F6D3
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A372FB

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

Preview Lab → · Contrast checker → · Palette generator →

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