#A370F5#A370F5

#A370F5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.193 H 298.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A370F5
RGBrgb(163, 112, 245)
HSLhsl(263, 87%, 70%)
HSVhsv(263, 54%, 96%)
CMYKcmyk(33.5%, 54.3%, 0%, 3.9%)
CIE-LABlab(58.01, 47.32, -59.69)
CIE-LCHlch(58.01, 76.17, 308.41°)
OKLaboklab(65.78% 0.0924 -0.1689)
OKLCHoklch(65.78% 0.193 298.7)
XYZxyz(37.3758, 25.9671, 89.4115)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370F5 #C2F570
analogous
#707FF5 #A370F5 #E670F5
triadic
#A370F5 #F5A370 #70F5A3
tetradic
#A370F5 #F5707F #C2F570 #70F5E6
square
#A370F5 #F5707F #C2F570 #70F5E6
split-complementary
#A370F5 #F5E670 #7FF570
monochromatic
#5E0FDB #7E37F1 #A370F5 #C8A9F9 #EDE2FD

Accessibility & contrast

On white

3.39
#A370F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A370F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370F5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370F5#FFFFFF#000000##000000
##A370F51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF9
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#918BA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a370f5;
/* rgb */ color: rgb(163, 112, 245);
/* oklch */ color: oklch(65.8% 0.193 298.7);
Tailwind
colors: {
  custom: {
    50: '#c29af9',
    500: '#a370f5',
    950: '#000000',
  },
}
SCSS
$custom: #a370f5;
$custom-light: #c29af9;
$custom-dark: #000000;
JSON
{
  "hex": "#a370f5",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 263.008,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.6578,
    "c": 0.19254,
    "h": 298.7
  },
  "luminance": 0.25967
}

Semantic roles & 50–950 ramp

primary
#A370F5
secondary
#E5F3CE
accent
#E3028D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370F5

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

Preview Lab → · Contrast checker → · Palette generator →

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