#A374F6#A374F6

#A374F6 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.188 H 297.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A374F6
RGBrgb(163, 116, 246)
HSLhsl(262, 88%, 71%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.7%, 52.8%, 0%, 3.5%)
CIE-LABlab(58.91, 45.39, -58.80)
CIE-LCHlch(58.91, 74.28, 307.67°)
OKLaboklab(66.47% 0.0875 -0.1663)
OKLCHoklch(66.47% 0.188 297.8)
XYZxyz(37.9801, 26.9307, 90.3681)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374F6 #C7F674
analogous
#7486F6 #A374F6 #E474F6
triadic
#A374F6 #F6A374 #74F6A3
tetradic
#A374F6 #F67486 #C7F674 #74F6E4
square
#A374F6 #F67486 #C7F674 #74F6E4
split-complementary
#A374F6 #F6E474 #86F674
monochromatic
#5B0FE1 #7D3BF2 #A374F6 #C9ADFA #ECE2FD

Accessibility & contrast

On white

3.29
#A374F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A374F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374F6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374F6#FFFFFF#000000##000000
##A374F61.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#918EAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a374f6;
/* rgb */ color: rgb(163, 116, 246);
/* oklch */ color: oklch(66.5% 0.188 297.8);
Tailwind
colors: {
  custom: {
    50: '#c29dfa',
    500: '#a374f6',
    950: '#000000',
  },
}
SCSS
$custom: #a374f6;
$custom-light: #c29dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a374f6",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 261.692,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66467,
    "c": 0.18792,
    "h": 297.8
  },
  "luminance": 0.26931
}

Semantic roles & 50–950 ramp

primary
#A374F6
secondary
#E8F4D2
accent
#E40192
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A374F6

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

Preview Lab → · Contrast checker → · Palette generator →

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