#A74EF3#A74EF3

#A74EF3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.5% C 0.237 H 305.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A74EF3
RGBrgb(167, 78, 243)
HSLhsl(272, 87%, 63%)
HSVhsv(272, 68%, 95%)
CMYKcmyk(31.3%, 67.9%, 0%, 4.7%)
CIE-LABlab(51.99, 64.76, -68.24)
CIE-LCHlch(51.99, 94.08, 313.50°)
OKLaboklab(61.47% 0.1361 -0.1938)
OKLCHoklch(61.47% 0.237 305.1)
XYZxyz(34.8348, 20.1355, 86.8280)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EF3 #9AF34E
analogous
#544EF3 #A74EF3 #F34EEC
triadic
#A74EF3 #F3A74E #4EF3A7
tetradic
#A74EF3 #F3544E #9AF34E #4EECF3
square
#A74EF3 #F3544E #9AF34E #4EECF3
split-complementary
#A74EF3 #ECF34E #4EF354
monochromatic
#6A0DBA #8B15EF #A74EF3 #C387F7 #E0C1FB

Accessibility & contrast

On white

4.18
#A74EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A74EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EF3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EF3#FFFFFF#000000##000000
##A74EF31.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0B7CEF
Tritanopia (blue-blind)
#99739B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a74ef3;
/* rgb */ color: rgb(167, 78, 243);
/* oklch */ color: oklch(61.5% 0.237 305.1);
Tailwind
colors: {
  custom: {
    50: '#c686f8',
    500: '#a74ef3',
    950: '#000000',
  },
}
SCSS
$custom: #a74ef3;
$custom-light: #c686f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ef3",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 243
  },
  "hsl": {
    "h": 272.364,
    "s": 87.302,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61469,
    "c": 0.23682,
    "h": 305.1
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#A74EF3
secondary
#CCECB1
accent
#E4026A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A74EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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