#7E50B3#7E50B3

#7E50B3 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.154 H 303.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7E50B3
RGBrgb(126, 80, 179)
HSLhsl(268, 39%, 51%)
HSVhsv(268, 55%, 70%)
CMYKcmyk(29.6%, 55.3%, 0%, 29.8%)
CIE-LABlab(43.40, 39.40, -45.67)
CIE-LCHlch(43.40, 60.32, 310.79°)
OKLaboklab(52.86% 0.0835 -0.1288)
OKLCHoklch(52.86% 0.154 303)
XYZxyz(19.6077, 13.4276, 44.1979)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50B3 #85B350
analogous
#5053B3 #7E50B3 #AF50B3
triadic
#7E50B3 #B37E50 #50B37E
tetradic
#7E50B3 #B35053 #85B350 #50B3AF
square
#7E50B3 #B35053 #85B350 #50B3AF
split-complementary
#7E50B3 #B3AF50 #53B350
monochromatic
#42295F #603C8A #7E50B3 #9D7BC6 #BDA5D8

Accessibility & contrast

On white

5.70
#7E50B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7E50B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50B3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50B3#FFFFFF#000000##FFFFFF
##7E50B31.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#3A66B1
Tritanopia (blue-blind)
#74637A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e50b3;
/* rgb */ color: rgb(126, 80, 179);
/* oklch */ color: oklch(52.9% 0.154 303.0);
Tailwind
colors: {
  custom: {
    50: '#a683ca',
    500: '#7e50b3',
    950: '#000000',
  },
}
SCSS
$custom: #7e50b3;
$custom-light: #a683ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50b3",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 267.879,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.15355,
    "h": 303
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#7E50B3
secondary
#B1C599
accent
#CF5898
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7E50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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