#A374F2#A374F2

#A374F2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.183 H 298.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A374F2
RGBrgb(163, 116, 242)
HSLhsl(262, 83%, 70%)
HSVhsv(262, 52%, 95%)
CMYKcmyk(32.6%, 52.1%, 0%, 5.1%)
CIE-LABlab(58.68, 44.39, -56.94)
CIE-LCHlch(58.68, 72.20, 307.94°)
OKLaboklab(66.23% 0.0873 -0.1608)
OKLCHoklch(66.23% 0.183 298.5)
XYZxyz(37.3728, 26.6877, 87.1695)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374F2 #C3F274
analogous
#7484F2 #A374F2 #E274F2
triadic
#A374F2 #F2A374 #74F2A3
tetradic
#A374F2 #F27484 #C3F274 #74F2E2
square
#A374F2 #F27484 #C3F274 #74F2E2
split-complementary
#A374F2 #F2E274 #84F274
monochromatic
#5D14D7 #7E3CED #A374F2 #C8ACF7 #ECE3FC

Accessibility & contrast

On white

3.31
#A374F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A374F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374F2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374F2#FFFFFF#000000##000000
##A374F21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#928DA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a374f2;
/* rgb */ color: rgb(163, 116, 242);
/* oklch */ color: oklch(66.2% 0.183 298.5);
Tailwind
colors: {
  custom: {
    50: '#c29df7',
    500: '#a374f2',
    950: '#000000',
  },
}
SCSS
$custom: #a374f2;
$custom-light: #c29df7;
$custom-dark: #000000;
JSON
{
  "hex": "#a374f2",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 262.381,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.18302,
    "h": 298.5
  },
  "luminance": 0.26688
}

Semantic roles & 50–950 ramp

primary
#A374F2
secondary
#E5F2CF
accent
#DF068E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A374F2

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

Preview Lab → · Contrast checker → · Palette generator →

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