#A370EC#A370EC

#A370EC is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.182 H 300.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A370EC
RGBrgb(163, 112, 236)
HSLhsl(265, 77%, 68%)
HSVhsv(265, 53%, 93%)
CMYKcmyk(30.9%, 52.5%, 0%, 7.5%)
CIE-LABlab(57.49, 45.10, -55.51)
CIE-LCHlch(57.49, 71.52, 309.09°)
OKLaboklab(65.24% 0.092 -0.1567)
OKLCHoklch(65.24% 0.182 300.4)
XYZxyz(36.0352, 25.4308, 82.3508)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370EC #B9EC70
analogous
#707BEC #A370EC #E170EC
triadic
#A370EC #ECA370 #70ECA3
tetradic
#A370EC #EC707B #B9EC70 #70ECE1
square
#A370EC #EC707B #B9EC70 #70ECE1
split-complementary
#A370EC #ECE170 #7BEC70
monochromatic
#611AC7 #803AE5 #A370EC #C6A6F3 #E9DCFA

Accessibility & contrast

On white

3.45
#A370EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A370EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370EC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370EC#FFFFFF#000000##000000
##A370EC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#9488A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a370ec;
/* rgb */ color: rgb(163, 112, 236);
/* oklch */ color: oklch(65.2% 0.182 300.4);
Tailwind
colors: {
  custom: {
    50: '#c29af3',
    500: '#a370ec',
    950: '#000000',
  },
}
SCSS
$custom: #a370ec;
$custom-light: #c29af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a370ec",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 264.677,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65235,
    "c": 0.18167,
    "h": 300.4
  },
  "luminance": 0.25431
}

Semantic roles & 50–950 ramp

primary
#A370EC
secondary
#DFEFC9
accent
#D90D85
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370EC

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

Preview Lab → · Contrast checker → · Palette generator →

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