#A74EFF#A74EFF

#A74EFF is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.3% C 0.249 H 302.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A74EFF
RGBrgb(167, 78, 255)
HSLhsl(270, 100%, 65%)
HSVhsv(270, 69%, 100%)
CMYKcmyk(34.5%, 69.4%, 0%, 0%)
CIE-LABlab(52.82, 67.47, -73.57)
CIE-LCHlch(52.82, 99.82, 312.52°)
OKLaboklab(62.32% 0.1344 -0.2095)
OKLCHoklch(62.32% 0.249 302.7)
XYZxyz(36.7065, 20.8842, 96.6856)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74EFF #A6FF4E
analogous
#4E4EFF #A74EFF #FF4EFF
triadic
#A74EFF #FFA74E #4EFFA7
tetradic
#A74EFF #FF4E4E #A6FF4E #4EFFFF
square
#A74EFF #FF4E4E #A6FF4E #4EFFFF
split-complementary
#A74EFF #FFFF4E #4EFF4E
monochromatic
#6A00D3 #8911FF #A74EFF #C58BFF #E4C8FF

Accessibility & contrast

On white

4.06
#A74EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A74EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74EFF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74EFF#FFFFFF#000000##000000
##A74EFF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#9578A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a74eff;
/* rgb */ color: rgb(167, 78, 255);
/* oklch */ color: oklch(62.3% 0.249 302.7);
Tailwind
colors: {
  custom: {
    50: '#c786ff',
    500: '#a74eff',
    950: '#000000',
  },
}
SCSS
$custom: #a74eff;
$custom-light: #c786ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a74eff",
  "rgb": {
    "r": 167,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 270.169,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62324,
    "c": 0.24889,
    "h": 302.7
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#A74EFF
secondary
#D4F2B7
accent
#E60072
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #A74EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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