#A74DDD#A74DDD

#A74DDD is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.216 H 310.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A74DDD
RGBrgb(167, 77, 221)
HSLhsl(278, 68%, 58%)
HSVhsv(278, 65%, 87%)
CMYKcmyk(24.4%, 65.2%, 0%, 13.3%)
CIE-LABlab(50.39, 60.37, -58.44)
CIE-LCHlch(50.39, 84.02, 315.93°)
OKLaboklab(59.86% 0.1393 -0.165)
OKLCHoklch(59.86% 0.216 310.2)
XYZxyz(31.6389, 18.7444, 70.3439)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DDD #83DD4D
analogous
#5F4DDD #A74DDD #DD4DCB
triadic
#A74DDD #DDA74D #4DDDA7
tetradic
#A74DDD #DD5F4D #83DD4D #4DCBDD
square
#A74DDD #DD5F4D #83DD4D #4DCBDD
split-complementary
#A74DDD #CBDD4D #4DDD5F
monochromatic
#671C93 #8B26C7 #A74DDD #C080E7 #DAB4F1

Accessibility & contrast

On white

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

On black

4.75
#A74DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DDD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DDD#FFFFFF#000000##000000
##A74DDD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#3979DA
Tritanopia (blue-blind)
#A06A8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74ddd;
/* rgb */ color: rgb(167, 77, 221);
/* oklch */ color: oklch(59.9% 0.216 310.2);
Tailwind
colors: {
  custom: {
    50: '#c585e8',
    500: '#a74ddd',
    950: '#000000',
  },
}
SCSS
$custom: #a74ddd;
$custom-light: #c585e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ddd",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 277.5,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59862,
    "c": 0.21595,
    "h": 310.2
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#A74DDD
secondary
#BCDFA6
accent
#EB3D7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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