#A74CF5#A74CF5

#A74CF5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.4% C 0.241 H 304.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A74CF5
RGBrgb(167, 76, 245)
HSLhsl(272, 89%, 63%)
HSVhsv(272, 69%, 96%)
CMYKcmyk(31.8%, 69%, 0%, 3.9%)
CIE-LABlab(51.81, 66.09, -69.65)
CIE-LCHlch(51.81, 96.01, 313.50°)
OKLaboklab(61.38% 0.1378 -0.1979)
OKLCHoklch(61.38% 0.241 304.9)
XYZxyz(34.9985, 19.9771, 88.3807)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CF5 #9AF54C
analogous
#534CF5 #A74CF5 #F54CEE
triadic
#A74CF5 #F5A74C #4CF5A7
tetradic
#A74CF5 #F5534C #9AF54C #4CEEF5
square
#A74CF5 #F5534C #9AF54C #4CEEF5
split-complementary
#A74CF5 #EEF54C #4CF553
monochromatic
#6A0BBC #8B12F2 #A74CF5 #C386F8 #E0C0FB

Accessibility & contrast

On white

4.20
#A74CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A74CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CF5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CF5#FFFFFF#000000##000000
##A74CF51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#99739B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a74cf5;
/* rgb */ color: rgb(167, 76, 245);
/* oklch */ color: oklch(61.4% 0.241 304.9);
Tailwind
colors: {
  custom: {
    50: '#c785f9',
    500: '#a74cf5',
    950: '#000000',
  },
}
SCSS
$custom: #a74cf5;
$custom-light: #c785f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cf5",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 272.308,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.24119,
    "h": 304.9
  },
  "luminance": 0.19977
}

Semantic roles & 50–950 ramp

primary
#A74CF5
secondary
#CCEDB0
accent
#E6006A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A74CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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