#7F4AE1#7F4AE1

#7F4AE1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.216 H 294.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7F4AE1
RGBrgb(127, 74, 225)
HSLhsl(261, 72%, 59%)
HSVhsv(261, 67%, 88%)
CMYKcmyk(43.6%, 67.1%, 0%, 11.8%)
CIE-LABlab(45.42, 54.70, -68.97)
CIE-LCHlch(45.42, 88.03, 308.42°)
OKLaboklab(55.34% 0.0891 -0.1972)
OKLCHoklch(55.34% 0.216 294.3)
XYZxyz(24.7881, 14.8452, 72.7789)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4AE1 #ACE14A
analogous
#4A60E1 #7F4AE1 #CB4AE1
triadic
#7F4AE1 #E17F4A #4AE17F
tetradic
#7F4AE1 #E14A60 #ACE14A #4AE1CB
square
#7F4AE1 #E14A60 #ACE14A #4AE1CB
split-complementary
#7F4AE1 #E1CB4A #60E14A
monochromatic
#451997 #5E22CC #7F4AE1 #A47EEA #C9B3F2

Accessibility & contrast

On white

5.29
#7F4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7F4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4AE1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4AE1#FFFFFF#000000##FFFFFF
##7F4AE11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#646F90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f4ae1;
/* rgb */ color: rgb(127, 74, 225);
/* oklch */ color: oklch(55.3% 0.216 294.3);
Tailwind
colors: {
  custom: {
    50: '#ab80eb',
    500: '#7f4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ae1;
$custom-light: #ab80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ae1",
  "rgb": {
    "r": 127,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 261.06,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.21646,
    "h": 294.3
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#7F4AE1
secondary
#CCE1A6
accent
#EE39AF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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