#A370EF#A370EF

#A370EF is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.185 H 299.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A370EF
RGBrgb(163, 112, 239)
HSLhsl(264, 80%, 69%)
HSVhsv(264, 53%, 94%)
CMYKcmyk(31.8%, 53.1%, 0%, 6.3%)
CIE-LABlab(57.66, 45.84, -56.91)
CIE-LCHlch(57.66, 73.08, 308.85°)
OKLaboklab(65.42% 0.0922 -0.1607)
OKLCHoklch(65.42% 0.185 299.8)
XYZxyz(36.4747, 25.6066, 84.6656)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370EF #BCEF70
analogous
#707DEF #A370EF #E270EF
triadic
#A370EF #EFA370 #70EFA3
tetradic
#A370EF #EF707D #BCEF70 #70EFE2
square
#A370EF #EF707D #BCEF70 #70EFE2
split-complementary
#A370EF #EFE270 #7DEF70
monochromatic
#6017CE #8039E9 #A370EF #C6A7F5 #EADEFB

Accessibility & contrast

On white

3.43
#A370EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A370EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370EF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370EF#FFFFFF#000000##000000
##A370EF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#9389A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a370ef;
/* rgb */ color: rgb(163, 112, 239);
/* oklch */ color: oklch(65.4% 0.185 299.8);
Tailwind
colors: {
  custom: {
    50: '#c29af5',
    500: '#a370ef',
    950: '#000000',
  },
}
SCSS
$custom: #a370ef;
$custom-light: #c29af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a370ef",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 264.094,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.1853,
    "h": 299.8
  },
  "luminance": 0.25607
}

Semantic roles & 50–950 ramp

primary
#A370EF
secondary
#E1F0CB
accent
#DC0988
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A370EF

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

Preview Lab → · Contrast checker → · Palette generator →

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