#A74CDF#A74CDF

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

Color values

HEX#A74CDF
RGBrgb(167, 76, 223)
HSLhsl(277, 70%, 59%)
HSVhsv(277, 66%, 87%)
CMYKcmyk(25.1%, 65.9%, 0%, 12.5%)
CIE-LABlab(50.35, 61.26, -59.63)
CIE-LCHlch(50.35, 85.49, 315.77°)
OKLaboklab(59.88% 0.1403 -0.1685)
OKLCHoklch(59.88% 0.219 309.8)
XYZxyz(31.8375, 18.7127, 71.7325)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CDF #84DF4C
analogous
#5D4CDF #A74CDF #DF4CCD
triadic
#A74CDF #DFA74C #4CDFA7
tetradic
#A74CDF #DF5D4C #84DF4C #4CCDDF
square
#A74CDF #DF5D4C #84DF4C #4CCDDF
split-complementary
#A74CDF #CDDF4C #4CDF5D
monochromatic
#671B96 #8B24CA #A74CDF #C180E8 #DAB4F2

Accessibility & contrast

On white

4.43
#A74CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A74CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CDF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CDF#FFFFFF#000000##000000
##A74CDF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#9F6B8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74cdf;
/* rgb */ color: rgb(167, 76, 223);
/* oklch */ color: oklch(59.9% 0.219 309.8);
Tailwind
colors: {
  custom: {
    50: '#c584ea',
    500: '#a74cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a74cdf;
$custom-light: #c584ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cdf",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 277.143,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.21925,
    "h": 309.8
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A74CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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