#A374E7#A374E7

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

Color values

HEX#A374E7
RGBrgb(163, 116, 231)
HSLhsl(265, 71%, 68%)
HSVhsv(265, 50%, 91%)
CMYKcmyk(29.4%, 49.8%, 0%, 9.4%)
CIE-LABlab(58.08, 41.68, -51.78)
CIE-LCHlch(58.08, 66.47, 308.83°)
OKLaboklab(65.58% 0.0865 -0.1457)
OKLCHoklch(65.58% 0.169 300.7)
XYZxyz(35.7701, 26.0467, 78.7288)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374E7 #B8E774
analogous
#747EE7 #A374E7 #DD74E7
triadic
#A374E7 #E7A374 #74E7A3
tetradic
#A374E7 #E7747E #B8E774 #74E7DD
square
#A374E7 #E7747E #B8E774 #74E7DD
split-complementary
#A374E7 #E7DD74 #7EE774
monochromatic
#6221C0 #8040DE #A374E7 #C6A8F0 #E8DCF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A374E7#FFFFFF#000000##000000
##A374E71.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)
#4E8BEB
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#9689A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a374e7;
/* rgb */ color: rgb(163, 116, 231);
/* oklch */ color: oklch(65.6% 0.169 300.7);
Tailwind
colors: {
  custom: {
    50: '#c19def',
    500: '#a374e7',
    950: '#000000',
  },
}
SCSS
$custom: #a374e7;
$custom-light: #c19def;
$custom-dark: #000000;
JSON
{
  "hex": "#a374e7",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 264.522,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65584,
    "c": 0.16949,
    "h": 300.7
  },
  "luminance": 0.26047
}

Semantic roles & 50–950 ramp

primary
#A374E7
secondary
#DFEDCA
accent
#D31384
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A374E7

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

Preview Lab → · Contrast checker → · Palette generator →

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