#7F3DA5#7F3DA5

#7F3DA5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.167 H 311.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7F3DA5
RGBrgb(127, 61, 165)
HSLhsl(278, 46%, 44%)
HSVhsv(278, 63%, 65%)
CMYKcmyk(23%, 63%, 0%, 35.3%)
CIE-LABlab(38.84, 46.49, -44.66)
CIE-LCHlch(38.84, 64.47, 316.15°)
OKLaboklab(49.28% 0.1093 -0.1258)
OKLCHoklch(49.28% 0.167 311)
XYZxyz(17.2114, 10.5665, 36.7229)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DA5 #63A53D
analogous
#4B3DA5 #7F3DA5 #A53D97
triadic
#7F3DA5 #A57F3D #3DA57F
tetradic
#7F3DA5 #A54B3D #63A53D #3D97A5
square
#7F3DA5 #A54B3D #63A53D #3D97A5
split-complementary
#7F3DA5 #97A53D #3DA54B
monochromatic
#3A1C4C #5D2C78 #7F3DA5 #9D5CC3 #B889D3

Accessibility & contrast

On white

6.75
#7F3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7F3DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DA5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DA5#FFFFFF#000000##FFFFFF
##7F3DA51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#7A516B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f3da5;
/* rgb */ color: rgb(127, 61, 165);
/* oklch */ color: oklch(49.3% 0.167 311.0);
Tailwind
colors: {
  custom: {
    50: '#a776c0',
    500: '#7f3da5',
    950: '#000000',
  },
}
SCSS
$custom: #7f3da5;
$custom-light: #a776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3da5",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 278.077,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.16665,
    "h": 311
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#7F3DA5
secondary
#97BE80
accent
#D65282
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7F3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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