#A374EF#A374EF

#A374EF is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.0% C 0.179 H 299.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A374EF
RGBrgb(163, 116, 239)
HSLhsl(263, 79%, 70%)
HSVhsv(263, 51%, 94%)
CMYKcmyk(31.8%, 51.5%, 0%, 6.3%)
CIE-LABlab(58.52, 43.64, -55.54)
CIE-LCHlch(58.52, 70.64, 308.16°)
OKLaboklab(66.05% 0.0871 -0.1567)
OKLCHoklch(66.05% 0.179 299.1)
XYZxyz(36.9259, 26.5090, 84.8160)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374EF #C0EF74
analogous
#7483EF #A374EF #E174EF
triadic
#A374EF #EFA374 #74EFA3
tetradic
#A374EF #EF7483 #C0EF74 #74EFE1
square
#A374EF #EF7483 #C0EF74 #74EFE1
split-complementary
#A374EF #EFE174 #83EF74
monochromatic
#5F18D1 #7F3DE9 #A374EF #C7ABF5 #ECE2FC

Accessibility & contrast

On white

3.33
#A374EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A374EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374EF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374EF#FFFFFF#000000##000000
##A374EF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#938CA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a374ef;
/* rgb */ color: rgb(163, 116, 239);
/* oklch */ color: oklch(66.0% 0.179 299.1);
Tailwind
colors: {
  custom: {
    50: '#c29df5',
    500: '#a374ef',
    950: '#000000',
  },
}
SCSS
$custom: #a374ef;
$custom-light: #c29df5;
$custom-dark: #000000;
JSON
{
  "hex": "#a374ef",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 262.927,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66048,
    "c": 0.17934,
    "h": 299.1
  },
  "luminance": 0.26509
}

Semantic roles & 50–950 ramp

primary
#A374EF
secondary
#E4F1CE
accent
#DC0A8B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A374EF

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

Preview Lab → · Contrast checker → · Palette generator →

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