#A374EB#A374EB

#A374EB is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.8% C 0.174 H 299.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A374EB
RGBrgb(163, 116, 235)
HSLhsl(264, 75%, 69%)
HSVhsv(264, 51%, 92%)
CMYKcmyk(30.6%, 50.6%, 0%, 7.8%)
CIE-LABlab(58.30, 42.66, -53.67)
CIE-LCHlch(58.30, 68.56, 308.48°)
OKLaboklab(65.81% 0.0868 -0.1513)
OKLCHoklch(65.81% 0.174 299.9)
XYZxyz(36.3415, 26.2752, 81.7382)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374EB #BCEB74
analogous
#7481EB #A374EB #DE74EB
triadic
#A374EB #EBA374 #74EBA3
tetradic
#A374EB #EB7481 #BCEB74 #74EBDE
square
#A374EB #EB7481 #BCEB74 #74EBDE
split-complementary
#A374EB #EBDE74 #81EB74
monochromatic
#601DC8 #803EE3 #A374EB #C6AAF3 #EADFFA

Accessibility & contrast

On white

3.36
#A374EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A374EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374EB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374EB#FFFFFF#000000##000000
##A374EB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#948BA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a374eb;
/* rgb */ color: rgb(163, 116, 235);
/* oklch */ color: oklch(65.8% 0.174 299.9);
Tailwind
colors: {
  custom: {
    50: '#c19df2',
    500: '#a374eb',
    950: '#000000',
  },
}
SCSS
$custom: #a374eb;
$custom-light: #c19df2;
$custom-dark: #000000;
JSON
{
  "hex": "#a374eb",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 263.697,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65814,
    "c": 0.17442,
    "h": 299.9
  },
  "luminance": 0.26275
}

Semantic roles & 50–950 ramp

primary
#A374EB
secondary
#E1EFCC
accent
#D70F88
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A374EB

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

Preview Lab → · Contrast checker → · Palette generator →

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