#A74FEA#A74FEA

#A74FEA is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.0% C 0.227 H 306.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A74FEA
RGBrgb(167, 79, 234)
HSLhsl(274, 79%, 61%)
HSVhsv(274, 66%, 92%)
CMYKcmyk(28.6%, 66.2%, 0%, 8.2%)
CIE-LABlab(51.55, 62.30, -63.90)
CIE-LCHlch(51.55, 89.25, 314.27°)
OKLaboklab(60.96% 0.1361 -0.1811)
OKLCHoklch(60.96% 0.227 306.9)
XYZxyz(33.5805, 19.7484, 79.8687)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FEA #92EA4F
analogous
#5A4FEA #A74FEA #EA4FDF
triadic
#A74FEA #EAA74F #4FEAA7
tetradic
#A74FEA #EA5A4F #92EA4F #4FDFEA
square
#A74FEA #EA5A4F #92EA4F #4FDFEA
split-complementary
#A74FEA #DFEA4F #4FEA5A
monochromatic
#6914AA #8B1BE1 #A74FEA #C286F1 #DEBCF7

Accessibility & contrast

On white

4.24
#A74FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A74FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FEA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FEA#FFFFFF#000000##000000
##A74FEA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#287CE7
Tritanopia (blue-blind)
#9C7196
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a74fea;
/* rgb */ color: rgb(167, 79, 234);
/* oklch */ color: oklch(61.0% 0.227 306.9);
Tailwind
colors: {
  custom: {
    50: '#c686f2',
    500: '#a74fea',
    950: '#000000',
  },
}
SCSS
$custom: #a74fea;
$custom-light: #c686f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fea",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 274.065,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.2265,
    "h": 306.9
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#A74FEA
secondary
#C6E7AD
accent
#DB0B65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A74FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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