#A370F2#A370F2

#A370F2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.189 H 299.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A370F2
RGBrgb(163, 112, 242)
HSLhsl(264, 83%, 69%)
HSVhsv(264, 54%, 95%)
CMYKcmyk(32.6%, 53.7%, 0%, 5.1%)
CIE-LABlab(57.83, 46.58, -58.30)
CIE-LCHlch(57.83, 74.63, 308.62°)
OKLaboklab(65.6% 0.0923 -0.1648)
OKLCHoklch(65.6% 0.189 299.2)
XYZxyz(36.9216, 25.7854, 87.0191)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370F2 #BFF270
analogous
#707EF2 #A370F2 #E470F2
triadic
#A370F2 #F2A370 #70F2A3
tetradic
#A370F2 #F2707E #BFF270 #70F2E4
square
#A370F2 #F2707E #BFF270 #70F2E4
split-complementary
#A370F2 #F2E470 #7EF270
monochromatic
#5F13D4 #7F38ED #A370F2 #C7A8F7 #EBE0FC

Accessibility & contrast

On white

3.41
#A370F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A370F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370F2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370F2#FFFFFF#000000##000000
##A370F21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#928AA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a370f2;
/* rgb */ color: rgb(163, 112, 242);
/* oklch */ color: oklch(65.6% 0.189 299.2);
Tailwind
colors: {
  custom: {
    50: '#c29af7',
    500: '#a370f2',
    950: '#000000',
  },
}
SCSS
$custom: #a370f2;
$custom-light: #c29af7;
$custom-dark: #000000;
JSON
{
  "hex": "#a370f2",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 263.538,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65596,
    "c": 0.18892,
    "h": 299.2
  },
  "luminance": 0.25786
}

Semantic roles & 50–950 ramp

primary
#A370F2
secondary
#E3F2CC
accent
#E0068A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370F2

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

Preview Lab → · Contrast checker → · Palette generator →

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