#7F3EAE#7F3EAE

#7F3EAE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.175 H 308.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F3EAE
RGBrgb(127, 62, 174)
HSLhsl(275, 47%, 46%)
HSVhsv(275, 64%, 68%)
CMYKcmyk(27%, 64.4%, 0%, 31.8%)
CIE-LABlab(39.60, 48.06, -48.80)
CIE-LCHlch(39.60, 68.50, 314.57°)
OKLaboklab(50.02% 0.1077 -0.1379)
OKLCHoklch(50.02% 0.175 308)
XYZxyz(18.1134, 11.0135, 41.2078)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3EAE #6DAE3E
analogous
#473EAE #7F3EAE #AE3EA5
triadic
#7F3EAE #AE7F3E #3EAE7F
tetradic
#7F3EAE #AE473E #6DAE3E #3EA5AE
square
#7F3EAE #AE473E #6DAE3E #3EA5AE
split-complementary
#7F3EAE #A5AE3E #3EAE47
monochromatic
#3D1E54 #5E2E81 #7F3EAE #9D62C7 #B98FD7

Accessibility & contrast

On white

6.56
#7F3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7F3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3EAE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3EAE#FFFFFF#000000##FFFFFF
##7F3EAE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#785570
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f3eae;
/* rgb */ color: rgb(127, 62, 174);
/* oklch */ color: oklch(50.0% 0.175 308.0);
Tailwind
colors: {
  custom: {
    50: '#a877c7',
    500: '#7f3eae',
    950: '#000000',
  },
}
SCSS
$custom: #7f3eae;
$custom-light: #a877c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3eae",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 274.821,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.17501,
    "h": 308
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#7F3EAE
secondary
#9FC286
accent
#D75189
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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