#A370FA#A370FA

#A370FA is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.199 H 297.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A370FA
RGBrgb(163, 112, 250)
HSLhsl(262, 93%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(34.8%, 55.2%, 0%, 2%)
CIE-LABlab(58.30, 48.57, -61.99)
CIE-LCHlch(58.30, 78.75, 308.08°)
OKLaboklab(66.09% 0.0925 -0.1756)
OKLCHoklch(66.09% 0.199 297.8)
XYZxyz(38.1495, 26.2765, 93.4859)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370FA #C7FA70
analogous
#7082FA #A370FA #E870FA
triadic
#A370FA #FAA370 #70FAA3
tetradic
#A370FA #FA7082 #C7FA70 #70FAE8
square
#A370FA #FA7082 #C7FA70 #70FAE8
split-complementary
#A370FA #FAE870 #82FA70
monochromatic
#5B08E8 #7D35F8 #A370FA #C9ABFC #ECE1FE

Accessibility & contrast

On white

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

On black

6.26
#A370FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370FA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370FA#FFFFFF#000000##000000
##A370FA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#318CFF
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#8F8CAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a370fa;
/* rgb */ color: rgb(163, 112, 250);
/* oklch */ color: oklch(66.1% 0.199 297.8);
Tailwind
colors: {
  custom: {
    50: '#c39bfd',
    500: '#a370fa',
    950: '#000000',
  },
}
SCSS
$custom: #a370fa;
$custom-light: #c39bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a370fa",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 262.174,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6609,
    "c": 0.19853,
    "h": 297.8
  },
  "luminance": 0.26277
}

Semantic roles & 50–950 ramp

primary
#A370FA
secondary
#E8F5D1
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A370FA

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

Preview Lab → · Contrast checker → · Palette generator →

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