#7F4ADA#7F4ADA

#7F4ADA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.208 H 295.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7F4ADA
RGBrgb(127, 74, 218)
HSLhsl(262, 66%, 57%)
HSVhsv(262, 66%, 85%)
CMYKcmyk(41.7%, 66.1%, 0%, 14.5%)
CIE-LABlab(44.90, 52.88, -65.83)
CIE-LCHlch(44.90, 84.44, 308.77°)
OKLaboklab(54.81% 0.0901 -0.188)
OKLCHoklch(54.81% 0.208 295.6)
XYZxyz(23.8527, 14.4710, 67.8525)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4ADA #A5DA4A
analogous
#4A5DDA #7F4ADA #C74ADA
triadic
#7F4ADA #DA7F4A #4ADA7F
tetradic
#7F4ADA #DA4A5D #A5DA4A #4ADAC7
square
#7F4ADA #DA4A5D #A5DA4A #4ADAC7
split-complementary
#7F4ADA #DAC74A #5DDA4A
monochromatic
#461D8D #5F27C0 #7F4ADA #A37DE4 #C7B0EF

Accessibility & contrast

On white

5.39
#7F4ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7F4ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4ADA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4ADA#FFFFFF#000000##FFFFFF
##7F4ADA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#676C8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f4ada;
/* rgb */ color: rgb(127, 74, 218);
/* oklch */ color: oklch(54.8% 0.208 295.6);
Tailwind
colors: {
  custom: {
    50: '#ab80e6',
    500: '#7f4ada',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ada;
$custom-light: #ab80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ada",
  "rgb": {
    "r": 127,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 262.083,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.20849,
    "h": 295.6
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#7F4ADA
secondary
#C8DDA3
accent
#E93FAA
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F4ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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