#7F3DA3#7F3DA3

#7F3DA3 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.164 H 311.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7F3DA3
RGBrgb(127, 61, 163)
HSLhsl(279, 46%, 44%)
HSVhsv(279, 63%, 64%)
CMYKcmyk(22.1%, 62.6%, 0%, 36.1%)
CIE-LABlab(38.72, 46.04, -43.67)
CIE-LCHlch(38.72, 63.46, 316.52°)
OKLaboklab(49.15% 0.1094 -0.1229)
OKLCHoklch(49.15% 0.164 311.7)
XYZxyz(17.0308, 10.4943, 35.7717)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DA3 #61A33D
analogous
#4C3DA3 #7F3DA3 #A33D94
triadic
#7F3DA3 #A37F3D #3DA37F
tetradic
#7F3DA3 #A34C3D #61A33D #3D94A3
square
#7F3DA3 #A34C3D #61A33D #3D94A3
split-complementary
#7F3DA3 #94A33D #3DA34C
monochromatic
#3A1C4A #5C2C76 #7F3DA3 #9E5BC2 #B888D2

Accessibility & contrast

On white

6.78
#7F3DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7F3DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DA3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DA3#FFFFFF#000000##FFFFFF
##7F3DA31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A6
Deuteranopia (green-blind)
#345CA1
Tritanopia (blue-blind)
#7B506A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f3da3;
/* rgb */ color: rgb(127, 61, 163);
/* oklch */ color: oklch(49.1% 0.164 311.7);
Tailwind
colors: {
  custom: {
    50: '#a776bf',
    500: '#7f3da3',
    950: '#000000',
  },
}
SCSS
$custom: #7f3da3;
$custom-light: #a776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3da3",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 278.824,
    "s": 45.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.16449,
    "h": 311.7
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#7F3DA3
secondary
#95BD7F
accent
#D55381
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7F3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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