#A74DE8#A74DE8

#A74DE8 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.6% C 0.227 H 307.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A74DE8
RGBrgb(167, 77, 232)
HSLhsl(275, 77%, 61%)
HSVhsv(275, 67%, 91%)
CMYKcmyk(28%, 66.8%, 0%, 9%)
CIE-LABlab(51.09, 62.76, -63.52)
CIE-LCHlch(51.09, 89.30, 314.66°)
OKLaboklab(60.6% 0.1384 -0.1799)
OKLCHoklch(60.6% 0.227 307.6)
XYZxyz(33.1527, 19.3499, 78.3167)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DE8 #8EE84D
analogous
#5A4DE8 #A74DE8 #E84DDB
triadic
#A74DE8 #E8A74D #4DE8A7
tetradic
#A74DE8 #E85A4D #8EE84D #4DDBE8
square
#A74DE8 #E85A4D #8EE84D #4DDBE8
split-complementary
#A74DE8 #DBE84D #4DE85A
monochromatic
#6915A5 #8B1CDB #A74DE8 #C283EF #DDB9F6

Accessibility & contrast

On white

4.31
#A74DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A74DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DE8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DE8#FFFFFF#000000##000000
##A74DE81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#9D6F95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74de8;
/* rgb */ color: rgb(167, 77, 232);
/* oklch */ color: oklch(60.6% 0.227 307.6);
Tailwind
colors: {
  custom: {
    50: '#c685f0',
    500: '#a74de8',
    950: '#000000',
  },
}
SCSS
$custom: #a74de8;
$custom-light: #c685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a74de8",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 274.839,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.22698,
    "h": 307.6
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#A74DE8
secondary
#C4E6AB
accent
#D90C62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A74DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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