#A374F5#A374F5

#A374F5 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.187 H 297.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A374F5
RGBrgb(163, 116, 245)
HSLhsl(262, 87%, 71%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.5%, 52.7%, 0%, 3.9%)
CIE-LABlab(58.85, 45.14, -58.33)
CIE-LCHlch(58.85, 73.76, 307.73°)
OKLaboklab(66.41% 0.0875 -0.1649)
OKLCHoklch(66.41% 0.187 297.9)
XYZxyz(37.8270, 26.8694, 89.5619)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374F5 #C6F574
analogous
#7485F5 #A374F5 #E374F5
triadic
#A374F5 #F5A374 #74F5A3
tetradic
#A374F5 #F57485 #C6F574 #74F5E3
square
#A374F5 #F57485 #C6F574 #74F5E3
split-complementary
#A374F5 #F5E374 #85F574
monochromatic
#5B10DF #7D3BF1 #A374F5 #C9ADF9 #ECE2FD

Accessibility & contrast

On white

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

On black

6.37
#A374F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374F5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374F5#FFFFFF#000000##000000
##A374F51.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#918EAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a374f5;
/* rgb */ color: rgb(163, 116, 245);
/* oklch */ color: oklch(66.4% 0.187 297.9);
Tailwind
colors: {
  custom: {
    50: '#c29df9',
    500: '#a374f5',
    950: '#000000',
  },
}
SCSS
$custom: #a374f5;
$custom-light: #c29df9;
$custom-dark: #000000;
JSON
{
  "hex": "#a374f5",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 261.86,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66406,
    "c": 0.18669,
    "h": 297.9
  },
  "luminance": 0.2687
}

Semantic roles & 50–950 ramp

primary
#A374F5
secondary
#E7F4D1
accent
#E30291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A374F5

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

Preview Lab → · Contrast checker → · Palette generator →

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