#A370F4#A370F4

#A370F4 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.191 H 298.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A370F4
RGBrgb(163, 112, 244)
HSLhsl(263, 86%, 70%)
HSVhsv(263, 54%, 96%)
CMYKcmyk(33.2%, 54.1%, 0%, 4.3%)
CIE-LABlab(57.95, 47.08, -59.23)
CIE-LCHlch(57.95, 75.66, 308.48°)
OKLaboklab(65.72% 0.0924 -0.1675)
OKLCHoklch(65.72% 0.191 298.9)
XYZxyz(37.2236, 25.9062, 88.6097)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370F4 #C1F470
analogous
#707FF4 #A370F4 #E570F4
triadic
#A370F4 #F4A370 #70F4A3
tetradic
#A370F4 #F4707F #C1F470 #70F4E5
square
#A370F4 #F4707F #C1F470 #70F4E5
split-complementary
#A370F4 #F4E570 #7FF470
monochromatic
#5E11D9 #7E37F0 #A370F4 #C8A9F8 #ECE2FD

Accessibility & contrast

On white

3.40
#A370F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A370F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370F4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370F4#FFFFFF#000000##000000
##A370F41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF8
Deuteranopia (green-blind)
#4A8AF1
Tritanopia (blue-blind)
#928AA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a370f4;
/* rgb */ color: rgb(163, 112, 244);
/* oklch */ color: oklch(65.7% 0.191 298.9);
Tailwind
colors: {
  custom: {
    50: '#c29af8',
    500: '#a370f4',
    950: '#000000',
  },
}
SCSS
$custom: #a370f4;
$custom-light: #c29af8;
$custom-dark: #000000;
JSON
{
  "hex": "#a370f4",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 263.182,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65718,
    "c": 0.19133,
    "h": 298.9
  },
  "luminance": 0.25907
}

Semantic roles & 50–950 ramp

primary
#A370F4
secondary
#E4F3CD
accent
#E2038C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370F4

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

Preview Lab → · Contrast checker → · Palette generator →

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