#A370F6#A370F6

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

Color values

HEX#A370F6
RGBrgb(163, 112, 246)
HSLhsl(263, 88%, 70%)
HSVhsv(263, 54%, 96%)
CMYKcmyk(33.7%, 54.5%, 0%, 3.5%)
CIE-LABlab(58.06, 47.57, -60.15)
CIE-LCHlch(58.06, 76.69, 308.34°)
OKLaboklab(65.84% 0.0924 -0.1703)
OKLCHoklch(65.84% 0.194 298.5)
XYZxyz(37.5289, 26.0283, 90.2177)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370F6 #C3F670
analogous
#7080F6 #A370F6 #E670F6
triadic
#A370F6 #F6A370 #70F6A3
tetradic
#A370F6 #F67080 #C3F670 #70F6E6
square
#A370F6 #F67080 #C3F670 #70F6E6
split-complementary
#A370F6 #F6E670 #80F670
monochromatic
#5D0EDE #7E36F2 #A370F6 #C8AAFA #ECE2FD

Accessibility & contrast

On white

3.38
#A370F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A370F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370F6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370F6#FFFFFF#000000##000000
##A370F61.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFA
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#918BA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a370f6;
/* rgb */ color: rgb(163, 112, 246);
/* oklch */ color: oklch(65.8% 0.194 298.5);
Tailwind
colors: {
  custom: {
    50: '#c29bfa',
    500: '#a370f6',
    950: '#000000',
  },
}
SCSS
$custom: #a370f6;
$custom-light: #c29bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a370f6",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 262.836,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65841,
    "c": 0.19374,
    "h": 298.5
  },
  "luminance": 0.26029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A370F6

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

Preview Lab → · Contrast checker → · Palette generator →

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