#A374DB#A374DB

#A374DB is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.9% C 0.155 H 303.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A374DB
RGBrgb(163, 116, 219)
HSLhsl(267, 59%, 66%)
HSVhsv(267, 47%, 86%)
CMYKcmyk(25.6%, 47%, 0%, 14.1%)
CIE-LABlab(57.46, 38.78, -46.05)
CIE-LCHlch(57.46, 60.21, 310.10°)
OKLaboklab(64.91% 0.0852 -0.129)
OKLCHoklch(64.91% 0.155 303.4)
XYZxyz(34.1331, 25.3918, 70.1070)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374DB #ACDB74
analogous
#7478DB #A374DB #D774DB
triadic
#A374DB #DBA374 #74DBA3
tetradic
#A374DB #DB7478 #ACDB74 #74DBD7
square
#A374DB #DB7478 #ACDB74 #74DBD7
split-complementary
#A374DB #DBD774 #78DB74
monochromatic
#652CA9 #8343CE #A374DB #C3A5E8 #E3D5F4

Accessibility & contrast

On white

3.45
#A374DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A374DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374DB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374DB#FFFFFF#000000##000000
##A374DB1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#628AD8
Tritanopia (blue-blind)
#99869D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a374db;
/* rgb */ color: rgb(163, 116, 219);
/* oklch */ color: oklch(64.9% 0.155 303.4);
Tailwind
colors: {
  custom: {
    50: '#c09de6',
    500: '#a374db',
    950: '#000000',
  },
}
SCSS
$custom: #a374db;
$custom-light: #c09de6;
$custom-dark: #000000;
JSON
{
  "hex": "#a374db",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 267.379,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64913,
    "c": 0.15463,
    "h": 303.4
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#A374DB
secondary
#D7E7C4
accent
#C61F7A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A374DB

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

Preview Lab → · Contrast checker → · Palette generator →

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