#7E3BC0#7E3BC0

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

Color values

HEX#7E3BC0
RGBrgb(126, 59, 192)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 75%)
CMYKcmyk(34.4%, 69.3%, 0%, 24.7%)
CIE-LABlab(40.20, 53.58, -58.45)
CIE-LCHlch(40.20, 79.29, 312.51°)
OKLaboklab(50.81% 0.1079 -0.1663)
OKLCHoklch(50.81% 0.198 303)
XYZxyz(19.6804, 11.3693, 51.0166)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BC0 #7DC03B
analogous
#3C3BC0 #7E3BC0 #C03BC0
triadic
#7E3BC0 #C07E3B #3BC07E
tetradic
#7E3BC0 #C03C3B #7DC03B #3BC0C0
square
#7E3BC0 #C03C3B #7DC03B #3BC0C0
split-complementary
#7E3BC0 #C0C03B #3BC03C
monochromatic
#411E62 #5F2D91 #7E3BC0 #9C68D1 #BB97DF

Accessibility & contrast

On white

6.41
#7E3BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3BC0
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BC0#FFFFFF#000000##FFFFFF
##7E3BC01.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#715A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e3bc0;
/* rgb */ color: rgb(126, 59, 192);
/* oklch */ color: oklch(50.8% 0.198 303.0);
Tailwind
colors: {
  custom: {
    50: '#a976d4',
    500: '#7e3bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bc0;
$custom-light: #a976d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bc0",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 270.226,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.19822,
    "h": 303
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#7E3BC0
secondary
#ABCA8C
accent
#DC4B93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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