#A370F7#A370F7

#A370F7 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.195 H 298.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A370F7
RGBrgb(163, 112, 247)
HSLhsl(263, 89%, 70%)
HSVhsv(263, 55%, 97%)
CMYKcmyk(34%, 54.7%, 0%, 3.1%)
CIE-LABlab(58.12, 47.82, -60.61)
CIE-LCHlch(58.12, 77.21, 308.27°)
OKLaboklab(65.9% 0.0925 -0.1716)
OKLCHoklch(65.9% 0.195 298.3)
XYZxyz(37.6828, 26.0898, 91.0282)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370F7 #C4F770
analogous
#7080F7 #A370F7 #E770F7
triadic
#A370F7 #F7A370 #70F7A3
tetradic
#A370F7 #F77080 #C4F770 #70F7E7
square
#A370F7 #F77080 #C4F770 #70F7E7
split-complementary
#A370F7 #F7E770 #80F770
monochromatic
#5C0DE0 #7E36F4 #A370F7 #C8AAFA #ECE2FD

Accessibility & contrast

On white

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

On black

6.22
#A370F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370F7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370F7#FFFFFF#000000##000000
##A370F71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#468AF4
Tritanopia (blue-blind)
#918BA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a370f7;
/* rgb */ color: rgb(163, 112, 247);
/* oklch */ color: oklch(65.9% 0.195 298.3);
Tailwind
colors: {
  custom: {
    50: '#c29bfa',
    500: '#a370f7',
    950: '#000000',
  },
}
SCSS
$custom: #a370f7;
$custom-light: #c29bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a370f7",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 262.667,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65903,
    "c": 0.19494,
    "h": 298.3
  },
  "luminance": 0.2609
}

Semantic roles & 50–950 ramp

primary
#A370F7
secondary
#E6F4CF
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370F7

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

Preview Lab → · Contrast checker → · Palette generator →

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