#A74EF1#A74EF1

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

Color values

HEX#A74EF1
RGBrgb(167, 78, 241)
HSLhsl(273, 85%, 63%)
HSVhsv(273, 68%, 95%)
CMYKcmyk(30.7%, 67.6%, 0%, 5.5%)
CIE-LABlab(51.85, 64.31, -67.34)
CIE-LCHlch(51.85, 93.12, 313.68°)
OKLaboklab(61.33% 0.1364 -0.1912)
OKLCHoklch(61.33% 0.235 305.5)
XYZxyz(34.5344, 20.0154, 85.2461)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EF1 #98F14E
analogous
#564EF1 #A74EF1 #F14EE9
triadic
#A74EF1 #F1A74E #4EF1A7
tetradic
#A74EF1 #F1564E #98F14E #4EE9F1
square
#A74EF1 #F1564E #98F14E #4EE9F1
split-complementary
#A74EF1 #E9F14E #4EF156
monochromatic
#6A0EB6 #8B15ED #A74EF1 #C387F5 #DFBFFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A74EF1#FFFFFF#000000##000000
##A74EF11.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)
#0079F6
Deuteranopia (green-blind)
#147CEE
Tritanopia (blue-blind)
#9A739A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a74ef1;
/* rgb */ color: rgb(167, 78, 241);
/* oklch */ color: oklch(61.3% 0.235 305.5);
Tailwind
colors: {
  custom: {
    50: '#c686f7',
    500: '#a74ef1',
    950: '#000000',
  },
}
SCSS
$custom: #a74ef1;
$custom-light: #c686f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ef1",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 272.761,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.23481,
    "h": 305.5
  },
  "luminance": 0.20015
}

Semantic roles & 50–950 ramp

primary
#A74EF1
secondary
#CBEBB0
accent
#E20469
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A74EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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