#A74EDB#A74EDB

#A74EDB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.9% C 0.213 H 310.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A74EDB
RGBrgb(167, 78, 219)
HSLhsl(278, 66%, 58%)
HSVhsv(278, 64%, 86%)
CMYKcmyk(23.7%, 64.4%, 0%, 14.1%)
CIE-LABlab(50.43, 59.48, -57.23)
CIE-LCHlch(50.43, 82.55, 316.10°)
OKLaboklab(59.85% 0.1383 -0.1615)
OKLCHoklch(59.85% 0.213 310.6)
XYZxyz(31.4445, 18.7794, 68.9724)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EDB #82DB4E
analogous
#604EDB #A74EDB #DB4EC9
triadic
#A74EDB #DBA74E #4EDBA7
tetradic
#A74EDB #DB604E #82DB4E #4EC9DB
square
#A74EDB #DB604E #82DB4E #4EC9DB
split-complementary
#A74EDB #C9DB4E #4EDB60
monochromatic
#661E91 #8A28C4 #A74EDB #C081E5 #DAB4F0

Accessibility & contrast

On white

4.42
#A74EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A74EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EDB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EDB#FFFFFF#000000##000000
##A74EDB1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#A06A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74edb;
/* rgb */ color: rgb(167, 78, 219);
/* oklch */ color: oklch(59.9% 0.213 310.6);
Tailwind
colors: {
  custom: {
    50: '#c585e7',
    500: '#a74edb',
    950: '#000000',
  },
}
SCSS
$custom: #a74edb;
$custom-light: #c585e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a74edb",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 277.872,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.21262,
    "h": 310.6
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#A74EDB
secondary
#BBDEA6
accent
#E93F7E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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