#A74FDF#A74FDF

#A74FDF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.215 H 309.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A74FDF
RGBrgb(167, 79, 223)
HSLhsl(277, 69%, 59%)
HSVhsv(277, 65%, 87%)
CMYKcmyk(25.1%, 64.6%, 0%, 12.5%)
CIE-LABlab(50.85, 59.88, -58.83)
CIE-LCHlch(50.85, 83.95, 315.51°)
OKLaboklab(60.23% 0.137 -0.1662)
OKLCHoklch(60.23% 0.215 309.5)
XYZxyz(32.0490, 19.1358, 71.8030)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FDF #87DF4F
analogous
#5F4FDF #A74FDF #DF4FCF
triadic
#A74FDF #DFA74F #4FDFA7
tetradic
#A74FDF #DF5F4F #87DF4F #4FCFDF
square
#A74FDF #DF5F4F #87DF4F #4FCFDF
split-complementary
#A74FDF #CFDF4F #4FDF5F
monochromatic
#681C98 #8B25CC #A74FDF #C183E8 #DBB7F2

Accessibility & contrast

On white

4.35
#A74FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A74FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FDF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FDF#FFFFFF#000000##000000
##A74FDF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#397ADC
Tritanopia (blue-blind)
#9F6C90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74fdf;
/* rgb */ color: rgb(167, 79, 223);
/* oklch */ color: oklch(60.2% 0.215 309.5);
Tailwind
colors: {
  custom: {
    50: '#c586ea',
    500: '#a74fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a74fdf;
$custom-light: #c586ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fdf",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 276.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.21534,
    "h": 309.5
  },
  "luminance": 0.19135
}

Semantic roles & 50–950 ramp

primary
#A74FDF
secondary
#BFE1A9
accent
#EC3C80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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