#7F3BC1#7F3BC1

#7F3BC1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.199 H 303.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7F3BC1
RGBrgb(127, 59, 193)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 76%)
CMYKcmyk(34.2%, 69.4%, 0%, 24.3%)
CIE-LABlab(40.39, 54.02, -58.71)
CIE-LCHlch(40.39, 79.78, 312.62°)
OKLaboklab(51% 0.1091 -0.167)
OKLCHoklch(51% 0.199 303.2)
XYZxyz(19.9398, 11.4902, 51.6091)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BC1 #7DC13B
analogous
#3C3BC1 #7F3BC1 #C13BC0
triadic
#7F3BC1 #C17F3B #3BC17F
tetradic
#7F3BC1 #C13C3B #7DC13B #3BC0C1
square
#7F3BC1 #C13C3B #7DC13B #3BC0C1
split-complementary
#7F3BC1 #C0C13B #3BC13C
monochromatic
#411E63 #602D92 #7F3BC1 #9D68D1 #BC97DF

Accessibility & contrast

On white

6.37
#7F3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7F3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BC1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BC1#FFFFFF#000000##FFFFFF
##7F3BC11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#725A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f3bc1;
/* rgb */ color: rgb(127, 59, 193);
/* oklch */ color: oklch(51.0% 0.199 303.2);
Tailwind
colors: {
  custom: {
    50: '#a976d5',
    500: '#7f3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bc1;
$custom-light: #a976d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bc1",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 270.448,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.19949,
    "h": 303.2
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#7F3BC1
secondary
#ABCB8D
accent
#DD4B93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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