#A370F8#A370F8

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

Color values

HEX#A370F8
RGBrgb(163, 112, 248)
HSLhsl(263, 91%, 71%)
HSVhsv(263, 55%, 97%)
CMYKcmyk(34.3%, 54.8%, 0%, 2.7%)
CIE-LABlab(58.18, 48.07, -61.07)
CIE-LCHlch(58.18, 77.72, 308.21°)
OKLaboklab(65.96% 0.0925 -0.173)
OKLCHoklch(65.96% 0.196 298.1)
XYZxyz(37.8375, 26.1517, 91.8431)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370F8 #C5F870
analogous
#7081F8 #A370F8 #E770F8
triadic
#A370F8 #F8A370 #70F8A3
tetradic
#A370F8 #F87081 #C5F870 #70F8E7
square
#A370F8 #F87081 #C5F870 #70F8E7
split-complementary
#A370F8 #F8E770 #81F870
monochromatic
#5C0BE3 #7D36F5 #A370F8 #C9AAFB #ECE2FE

Accessibility & contrast

On white

3.37
#A370F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A370F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370F8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370F8#FFFFFF#000000##000000
##A370F81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#908CA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a370f8;
/* rgb */ color: rgb(163, 112, 248);
/* oklch */ color: oklch(66.0% 0.196 298.1);
Tailwind
colors: {
  custom: {
    50: '#c29bfb',
    500: '#a370f8',
    950: '#000000',
  },
}
SCSS
$custom: #a370f8;
$custom-light: #c29bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a370f8",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 262.5,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65965,
    "c": 0.19614,
    "h": 298.1
  },
  "luminance": 0.26152
}

Semantic roles & 50–950 ramp

primary
#A370F8
secondary
#E7F4CF
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370F8

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

Preview Lab → · Contrast checker → · Palette generator →

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