#A372F2#A372F2

#A372F2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.186 H 298.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A372F2
RGBrgb(163, 114, 242)
HSLhsl(263, 83%, 70%)
HSVhsv(263, 53%, 95%)
CMYKcmyk(32.6%, 52.9%, 0%, 5.1%)
CIE-LABlab(58.26, 45.49, -57.63)
CIE-LCHlch(58.26, 73.42, 308.29°)
OKLaboklab(65.91% 0.0898 -0.1628)
OKLCHoklch(65.91% 0.186 298.9)
XYZxyz(37.1447, 26.2316, 87.0934)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A372F2 #C1F272
analogous
#7281F2 #A372F2 #E372F2
triadic
#A372F2 #F2A372 #72F2A3
tetradic
#A372F2 #F27281 #C1F272 #72F2E3
square
#A372F2 #F27281 #C1F272 #72F2E3
split-complementary
#A372F2 #F2E372 #81F272
monochromatic
#5E14D6 #7E3AED #A372F2 #C8AAF7 #ECE2FC

Accessibility & contrast

On white

3.36
#A372F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A372F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A372F2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A372F2#FFFFFF#000000##000000
##A372F21.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#928BA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a372f2;
/* rgb */ color: rgb(163, 114, 242);
/* oklch */ color: oklch(65.9% 0.186 298.9);
Tailwind
colors: {
  custom: {
    50: '#c29cf7',
    500: '#a372f2',
    950: '#000000',
  },
}
SCSS
$custom: #a372f2;
$custom-light: #c29cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a372f2",
  "rgb": {
    "r": 163,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 262.969,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65909,
    "c": 0.18598,
    "h": 298.9
  },
  "luminance": 0.26232
}

Semantic roles & 50–950 ramp

primary
#A372F2
secondary
#E4F2CE
accent
#E0068C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A372F2

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

Preview Lab → · Contrast checker → · Palette generator →

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