#A370DD#A370DD

#A370DD is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.4% C 0.163 H 303.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A370DD
RGBrgb(163, 112, 221)
HSLhsl(268, 62%, 65%)
HSVhsv(268, 49%, 87%)
CMYKcmyk(26.2%, 49.3%, 0%, 13.3%)
CIE-LABlab(56.68, 41.48, -48.41)
CIE-LCHlch(56.68, 63.75, 310.59°)
OKLaboklab(64.37% 0.0908 -0.1359)
OKLCHoklch(64.37% 0.163 303.8)
XYZxyz(33.9467, 24.5954, 71.3516)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370DD #AADD70
analogous
#7074DD #A370DD #D970DD
triadic
#A370DD #DDA370 #70DDA3
tetradic
#A370DD #DD7074 #AADD70 #70DDD9
square
#A370DD #DD7074 #AADD70 #70DDD9
split-complementary
#A370DD #DDD970 #74DD70
monochromatic
#6528AA #833FD1 #A370DD #C3A1E9 #E3D3F5

Accessibility & contrast

On white

3.55
#A370DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A370DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370DD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370DD#FFFFFF#000000##000000
##A370DD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#5D88DA
Tritanopia (blue-blind)
#99839C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a370dd;
/* rgb */ color: rgb(163, 112, 221);
/* oklch */ color: oklch(64.4% 0.163 303.8);
Tailwind
colors: {
  custom: {
    50: '#c19ae8',
    500: '#a370dd',
    950: '#000000',
  },
}
SCSS
$custom: #a370dd;
$custom-light: #c19ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#a370dd",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 268.073,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.16346,
    "h": 303.8
  },
  "luminance": 0.24595
}

Semantic roles & 50–950 ramp

primary
#A370DD
secondary
#D6E7C2
accent
#C91C78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A370DD

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

Preview Lab → · Contrast checker → · Palette generator →

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