#A74DDF#A74DDF

#A74DDF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.218 H 309.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A74DDF
RGBrgb(167, 77, 223)
HSLhsl(277, 70%, 59%)
HSVhsv(277, 65%, 87%)
CMYKcmyk(25.1%, 65.5%, 0%, 12.5%)
CIE-LABlab(50.51, 60.80, -59.37)
CIE-LCHlch(50.51, 84.98, 315.68°)
OKLaboklab(59.99% 0.1392 -0.1677)
OKLCHoklch(59.99% 0.218 309.7)
XYZxyz(31.9069, 18.8516, 71.7556)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74DDF #85DF4D
analogous
#5E4DDF #A74DDF #DF4DCE
triadic
#A74DDF #DFA74D #4DDFA7
tetradic
#A74DDF #DF5E4D #85DF4D #4DCEDF
square
#A74DDF #DF5E4D #85DF4D #4DCEDF
split-complementary
#A74DDF #CEDF4D #4DDF5E
monochromatic
#671B97 #8B24CA #A74DDF #C181E8 #DAB5F2

Accessibility & contrast

On white

4.40
#A74DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A74DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74DDF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74DDF#FFFFFF#000000##000000
##A74DDF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#9F6B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74ddf;
/* rgb */ color: rgb(167, 77, 223);
/* oklch */ color: oklch(60.0% 0.218 309.7);
Tailwind
colors: {
  custom: {
    50: '#c585ea',
    500: '#a74ddf',
    950: '#000000',
  },
}
SCSS
$custom: #a74ddf;
$custom-light: #c585ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ddf",
  "rgb": {
    "r": 167,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 276.986,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.21796,
    "h": 309.7
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#A74DDF
secondary
#BDE1A7
accent
#EC3B7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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