#A74ED7#A74ED7

#A74ED7 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.209 H 311.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A74ED7
RGBrgb(167, 78, 215)
HSLhsl(279, 63%, 57%)
HSVhsv(279, 64%, 84%)
CMYKcmyk(22.3%, 63.7%, 0%, 15.7%)
CIE-LABlab(50.18, 58.63, -55.35)
CIE-LCHlch(50.18, 80.63, 316.64°)
OKLaboklab(59.6% 0.1385 -0.156)
OKLCHoklch(59.6% 0.209 311.6)
XYZxyz(30.9242, 18.5713, 66.2324)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74ED7 #7ED74E
analogous
#624ED7 #A74ED7 #D74EC3
triadic
#A74ED7 #D7A74E #4ED7A7
tetradic
#A74ED7 #D7624E #7ED74E #4EC3D7
square
#A74ED7 #D7624E #7ED74E #4EC3D7
split-complementary
#A74ED7 #C3D74E #4ED762
monochromatic
#651F8B #8A2BBD #A74ED7 #C080E2 #D9B2EE

Accessibility & contrast

On white

4.45
#A74ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A74ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74ED7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74ED7#FFFFFF#000000##000000
##A74ED71.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#4179D4
Tritanopia (blue-blind)
#A1698C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74ed7;
/* rgb */ color: rgb(167, 78, 215);
/* oklch */ color: oklch(59.6% 0.209 311.6);
Tailwind
colors: {
  custom: {
    50: '#c585e4',
    500: '#a74ed7',
    950: '#000000',
  },
}
SCSS
$custom: #a74ed7;
$custom-light: #c585e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ed7",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 278.978,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.2086,
    "h": 311.6
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#A74ED7
secondary
#B8DCA5
accent
#E6427B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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