#7F4ACE#7F4ACE

#7F4ACE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.195 H 298.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7F4ACE
RGBrgb(127, 74, 206)
HSLhsl(264, 57%, 55%)
HSVhsv(264, 64%, 81%)
CMYKcmyk(38.3%, 64.1%, 0%, 19.2%)
CIE-LABlab(44.04, 49.77, -60.34)
CIE-LCHlch(44.04, 78.22, 309.52°)
OKLaboklab(53.91% 0.0914 -0.1719)
OKLCHoklch(53.91% 0.195 298)
XYZxyz(22.3389, 13.8655, 59.8799)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4ACE #99CE4A
analogous
#4A57CE #7F4ACE #C14ACE
triadic
#7F4ACE #CE7F4A #4ACE7F
tetradic
#7F4ACE #CE4A57 #99CE4A #4ACEC1
square
#7F4ACE #CE4A57 #99CE4A #4ACEC1
split-complementary
#7F4ACE #CEC14A #57CE4A
monochromatic
#46227C #612FAC #7F4ACE #A17ADB #C3AAE8

Accessibility & contrast

On white

5.57
#7F4ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7F4ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4ACE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4ACE#FFFFFF#000000##FFFFFF
##7F4ACE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#6C6885
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f4ace;
/* rgb */ color: rgb(127, 74, 206);
/* oklch */ color: oklch(53.9% 0.195 298.0);
Tailwind
colors: {
  custom: {
    50: '#aa7fde',
    500: '#7f4ace',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ace;
$custom-light: #aa7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ace",
  "rgb": {
    "r": 127,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 264.091,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.19468,
    "h": 298
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#7F4ACE
secondary
#BFD69E
accent
#E147A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F4ACE

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

Preview Lab → · Contrast checker → · Palette generator →

#7F4ACE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva