#A370F9#A370F9

#A370F9 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.197 H 298.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A370F9
RGBrgb(163, 112, 249)
HSLhsl(262, 92%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(34.5%, 55%, 0%, 2.4%)
CIE-LABlab(58.24, 48.32, -61.53)
CIE-LCHlch(58.24, 78.24, 308.14°)
OKLaboklab(66.03% 0.0925 -0.1743)
OKLCHoklch(66.03% 0.197 298)
XYZxyz(37.9931, 26.2140, 92.6623)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370F9 #C6F970
analogous
#7081F9 #A370F9 #E870F9
triadic
#A370F9 #F9A370 #70F9A3
tetradic
#A370F9 #F97081 #C6F970 #70F9E8
square
#A370F9 #F97081 #C6F970 #70F9E8
split-complementary
#A370F9 #F9E870 #81F970
monochromatic
#5B0AE5 #7D35F7 #A370F9 #C9ABFB #ECE2FE

Accessibility & contrast

On white

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

On black

6.24
#A370F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370F9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370F9#FFFFFF#000000##000000
##A370F91.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#448BF6
Tritanopia (blue-blind)
#908CAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a370f9;
/* rgb */ color: rgb(163, 112, 249);
/* oklch */ color: oklch(66.0% 0.197 298.0);
Tailwind
colors: {
  custom: {
    50: '#c39bfc',
    500: '#a370f9',
    950: '#000000',
  },
}
SCSS
$custom: #a370f9;
$custom-light: #c39bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a370f9",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 249
  },
  "hsl": {
    "h": 262.336,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66027,
    "c": 0.19733,
    "h": 298
  },
  "luminance": 0.26214
}

Semantic roles & 50–950 ramp

primary
#A370F9
secondary
#E7F5D0
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A370F9

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

Preview Lab → · Contrast checker → · Palette generator →

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