#7E3BC1#7E3BC1

#7E3BC1 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.199 H 302.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7E3BC1
RGBrgb(126, 59, 193)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 76%)
CMYKcmyk(34.7%, 69.4%, 0%, 24.3%)
CIE-LABlab(40.27, 53.82, -58.92)
CIE-LCHlch(40.27, 79.80, 312.41°)
OKLaboklab(50.89% 0.1077 -0.1677)
OKLCHoklch(50.89% 0.199 302.7)
XYZxyz(19.7915, 11.4138, 51.6021)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BC1 #7EC13B
analogous
#3B3BC1 #7E3BC1 #C13BC1
triadic
#7E3BC1 #C17E3B #3BC17E
tetradic
#7E3BC1 #C13B3B #7EC13B #3BC1C1
square
#7E3BC1 #C13B3B #7EC13B #3BC1C1
split-complementary
#7E3BC1 #C1C13B #3BC13B
monochromatic
#411E63 #5F2D92 #7E3BC1 #9D68D1 #BB97DF

Accessibility & contrast

On white

6.40
#7E3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7E3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3BC1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BC1#FFFFFF#000000##FFFFFF
##7E3BC11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e3bc1;
/* rgb */ color: rgb(126, 59, 193);
/* oklch */ color: oklch(50.9% 0.199 302.7);
Tailwind
colors: {
  custom: {
    50: '#a976d5',
    500: '#7e3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bc1;
$custom-light: #a976d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bc1",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 270,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.19929,
    "h": 302.7
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#7E3BC1
secondary
#ACCB8D
accent
#DD4B94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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