#7F3BC4#7F3BC4

#7F3BC4 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.203 H 302.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7F3BC4
RGBrgb(127, 59, 196)
HSLhsl(270, 54%, 50%)
HSVhsv(270, 70%, 77%)
CMYKcmyk(35.2%, 69.9%, 0%, 23.1%)
CIE-LABlab(40.61, 54.74, -60.10)
CIE-LCHlch(40.61, 81.29, 312.33°)
OKLaboklab(51.23% 0.1086 -0.1711)
OKLCHoklch(51.23% 0.203 302.4)
XYZxyz(20.2778, 11.6254, 53.3895)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BC4 #80C43B
analogous
#3B3CC4 #7F3BC4 #C33BC4
triadic
#7F3BC4 #C47F3B #3BC47F
tetradic
#7F3BC4 #C43B3C #80C43B #3BC4C3
square
#7F3BC4 #C43B3C #80C43B #3BC4C3
split-complementary
#7F3BC4 #C4C33B #3CC43B
monochromatic
#421F66 #612D95 #7F3BC4 #9E6AD2 #BC99E0

Accessibility & contrast

On white

6.32
#7F3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7F3BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BC4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BC4#FFFFFF#000000##FFFFFF
##7F3BC41.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#715B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3bc4;
/* rgb */ color: rgb(127, 59, 196);
/* oklch */ color: oklch(51.2% 0.203 302.4);
Tailwind
colors: {
  custom: {
    50: '#aa76d7',
    500: '#7f3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bc4;
$custom-light: #aa76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bc4",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 269.781,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.20269,
    "h": 302.4
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#7F3BC4
secondary
#AECC8F
accent
#DD4B94
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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