#7F3FAE#7F3FAE

#7F3FAE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.174 H 307.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7F3FAE
RGBrgb(127, 63, 174)
HSLhsl(275, 47%, 46%)
HSVhsv(275, 64%, 68%)
CMYKcmyk(27%, 63.8%, 0%, 31.8%)
CIE-LABlab(39.79, 47.56, -48.50)
CIE-LCHlch(39.79, 67.93, 314.44°)
OKLaboklab(50.15% 0.1065 -0.137)
OKLCHoklch(50.15% 0.174 307.9)
XYZxyz(18.1683, 11.1233, 41.2261)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FAE #6EAE3F
analogous
#483FAE #7F3FAE #AE3FA6
triadic
#7F3FAE #AE7F3F #3FAE7F
tetradic
#7F3FAE #AE483F #6EAE3F #3FA6AE
square
#7F3FAE #AE483F #6EAE3F #3FA6AE
split-complementary
#7F3FAE #A6AE3F #3FAE48
monochromatic
#3D1E54 #5E2F81 #7F3FAE #9D64C7 #B990D7

Accessibility & contrast

On white

6.51
#7F3FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7F3FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FAE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FAE#FFFFFF#000000##FFFFFF
##7F3FAE1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#785671
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f3fae;
/* rgb */ color: rgb(127, 63, 174);
/* oklch */ color: oklch(50.2% 0.174 307.9);
Tailwind
colors: {
  custom: {
    50: '#a878c7',
    500: '#7f3fae',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fae;
$custom-light: #a878c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fae",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 274.595,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.17358,
    "h": 307.9
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#7F3FAE
secondary
#A0C287
accent
#D6518A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F3FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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