#A370EB#A370EB

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

Color values

HEX#A370EB
RGBrgb(163, 112, 235)
HSLhsl(265, 75%, 68%)
HSVhsv(265, 52%, 92%)
CMYKcmyk(30.6%, 52.3%, 0%, 7.8%)
CIE-LABlab(57.44, 44.86, -55.04)
CIE-LCHlch(57.44, 71.01, 309.18°)
OKLaboklab(65.18% 0.092 -0.1553)
OKLCHoklch(65.18% 0.18 300.6)
XYZxyz(35.8903, 25.3728, 81.5878)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370EB #B8EB70
analogous
#707AEB #A370EB #E070EB
triadic
#A370EB #EBA370 #70EBA3
tetradic
#A370EB #EB707A #B8EB70 #70EBE0
square
#A370EB #EB707A #B8EB70 #70EBE0
split-complementary
#A370EB #EBE070 #7AEB70
monochromatic
#621CC5 #803AE3 #A370EB #C6A6F3 #E8DBFA

Accessibility & contrast

On white

3.46
#A370EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A370EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370EB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370EB#FFFFFF#000000##000000
##A370EB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#9588A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a370eb;
/* rgb */ color: rgb(163, 112, 235);
/* oklch */ color: oklch(65.2% 0.180 300.6);
Tailwind
colors: {
  custom: {
    50: '#c29af2',
    500: '#a370eb',
    950: '#000000',
  },
}
SCSS
$custom: #a370eb;
$custom-light: #c29af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a370eb",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 264.878,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65176,
    "c": 0.18046,
    "h": 300.6
  },
  "luminance": 0.25373
}

Semantic roles & 50–950 ramp

primary
#A370EB
secondary
#DFEEC9
accent
#D80E84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370EB

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

Preview Lab → · Contrast checker → · Palette generator →

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