#A370E6#A370E6

#A370E6 is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.174 H 301.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A370E6
RGBrgb(163, 112, 230)
HSLhsl(266, 70%, 67%)
HSVhsv(266, 51%, 90%)
CMYKcmyk(29.1%, 51.3%, 0%, 9.8%)
CIE-LABlab(57.16, 43.64, -52.69)
CIE-LCHlch(57.16, 68.41, 309.63°)
OKLaboklab(64.88% 0.0916 -0.1484)
OKLCHoklch(64.88% 0.174 301.7)
XYZxyz(35.1781, 25.0880, 77.8367)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370E6 #B3E670
analogous
#7078E6 #A370E6 #DE70E6
triadic
#A370E6 #E6A370 #70E6A3
tetradic
#A370E6 #E67078 #B3E670 #70E6DE
square
#A370E6 #E67078 #B3E670 #70E6DE
split-complementary
#A370E6 #E6DE70 #78E670
monochromatic
#6321BB #813CDD #A370E6 #C5A4EF #E6D8F8

Accessibility & contrast

On white

3.49
#A370E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A370E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370E6
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370E6#FFFFFF#000000##000000
##A370E61.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888EA
Deuteranopia (green-blind)
#5689E3
Tritanopia (blue-blind)
#9686A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a370e6;
/* rgb */ color: rgb(163, 112, 230);
/* oklch */ color: oklch(64.9% 0.174 301.7);
Tailwind
colors: {
  custom: {
    50: '#c19aee',
    500: '#a370e6',
    950: '#000000',
  },
}
SCSS
$custom: #a370e6;
$custom-light: #c19aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a370e6",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 265.932,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64882,
    "c": 0.1744,
    "h": 301.7
  },
  "luminance": 0.25088
}

Semantic roles & 50–950 ramp

primary
#A370E6
secondary
#DBECC6
accent
#D21380
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A370E6

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

Preview Lab → · Contrast checker → · Palette generator →

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