#7F3BBE#7F3BBE

#7F3BBE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.196 H 303.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7F3BBE
RGBrgb(127, 59, 190)
HSLhsl(271, 53%, 49%)
HSVhsv(271, 69%, 75%)
CMYKcmyk(33.2%, 68.9%, 0%, 25.5%)
CIE-LABlab(40.18, 53.30, -57.30)
CIE-LCHlch(40.18, 78.26, 312.93°)
OKLaboklab(50.78% 0.1095 -0.1629)
OKLCHoklch(50.78% 0.196 303.9)
XYZxyz(19.6085, 11.3577, 49.8644)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BBE #7ABE3B
analogous
#3E3BBE #7F3BBE #BE3BBC
triadic
#7F3BBE #BE7F3B #3BBE7F
tetradic
#7F3BBE #BE3E3B #7ABE3B #3BBCBE
square
#7F3BBE #BE3E3B #7ABE3B #3BBCBE
split-complementary
#7F3BBE #BCBE3B #3BBE3E
monochromatic
#411E61 #602C8F #7F3BBE #9D67D0 #BB95DE

Accessibility & contrast

On white

6.42
#7F3BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7F3BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BBE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BBE#FFFFFF#000000##FFFFFF
##7F3BBE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#735978
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f3bbe;
/* rgb */ color: rgb(127, 59, 190);
/* oklch */ color: oklch(50.8% 0.196 303.9);
Tailwind
colors: {
  custom: {
    50: '#a976d2',
    500: '#7f3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bbe;
$custom-light: #a976d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bbe",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 271.145,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.19629,
    "h": 303.9
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#7F3BBE
secondary
#A9CA8B
accent
#DC4C91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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