#A74FDD#A74FDD

#A74FDD is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.213 H 310.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A74FDD
RGBrgb(167, 79, 221)
HSLhsl(277, 68%, 59%)
HSVhsv(277, 64%, 87%)
CMYKcmyk(24.4%, 64.3%, 0%, 13.3%)
CIE-LABlab(50.72, 59.45, -57.90)
CIE-LCHlch(50.72, 82.99, 315.76°)
OKLaboklab(60.1% 0.1371 -0.1634)
OKLCHoklch(60.1% 0.213 310)
XYZxyz(31.7810, 19.0285, 70.3913)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FDD #85DD4F
analogous
#604FDD #A74FDD #DD4FCC
triadic
#A74FDD #DDA74F #4FDDA7
tetradic
#A74FDD #DD604F #85DD4F #4FCCDD
square
#A74FDD #DD604F #85DD4F #4FCCDD
split-complementary
#A74FDD #CCDD4F #4FDD60
monochromatic
#671D95 #8B27C8 #A74FDD #C182E7 #DAB6F1

Accessibility & contrast

On white

4.37
#A74FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A74FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FDD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FDD#FFFFFF#000000##000000
##A74FDD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#A06C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74fdd;
/* rgb */ color: rgb(167, 79, 221);
/* oklch */ color: oklch(60.1% 0.213 310.0);
Tailwind
colors: {
  custom: {
    50: '#c586e8',
    500: '#a74fdd',
    950: '#000000',
  },
}
SCSS
$custom: #a74fdd;
$custom-light: #c586e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fdd",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 277.183,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60102,
    "c": 0.21331,
    "h": 310
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#A74FDD
secondary
#BDE0A8
accent
#EA3D7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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