#A374F9#A374F9

#A374F9 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.192 H 297.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A374F9
RGBrgb(163, 116, 249)
HSLhsl(261, 92%, 72%)
HSVhsv(261, 53%, 98%)
CMYKcmyk(34.5%, 53.4%, 0%, 2.4%)
CIE-LABlab(59.08, 46.14, -60.18)
CIE-LCHlch(59.08, 75.84, 307.48°)
OKLaboklab(66.65% 0.0877 -0.1703)
OKLCHoklch(66.65% 0.192 297.2)
XYZxyz(38.4443, 27.1163, 92.8127)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374F9 #CAF974
analogous
#7488F9 #A374F9 #E674F9
triadic
#A374F9 #F9A374 #74F9A3
tetradic
#A374F9 #F97488 #CAF974 #74F9E6
square
#A374F9 #F97488 #CAF974 #74F9E6
split-complementary
#A374F9 #F9E674 #88F974
monochromatic
#590AE9 #7C39F6 #A374F9 #CAAFFC #ECE2FE

Accessibility & contrast

On white

3.27
#A374F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A374F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374F9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374F9#FFFFFF#000000##000000
##A374F91.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFE
Deuteranopia (green-blind)
#4A8DF6
Tritanopia (blue-blind)
#908FAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a374f9;
/* rgb */ color: rgb(163, 116, 249);
/* oklch */ color: oklch(66.6% 0.192 297.2);
Tailwind
colors: {
  custom: {
    50: '#c29dfc',
    500: '#a374f9',
    950: '#000000',
  },
}
SCSS
$custom: #a374f9;
$custom-light: #c29dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a374f9",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 261.203,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.19157,
    "h": 297.2
  },
  "luminance": 0.27117
}

Semantic roles & 50–950 ramp

primary
#A374F9
secondary
#E9F5D3
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A374F9

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

Preview Lab → · Contrast checker → · Palette generator →

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