#7E50BC#7E50BC

#7E50BC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.165 H 300.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E50BC
RGBrgb(126, 80, 188)
HSLhsl(266, 45%, 53%)
HSVhsv(266, 57%, 74%)
CMYKcmyk(33%, 57.4%, 0%, 26.3%)
CIE-LABlab(43.95, 41.68, -50.06)
CIE-LCHlch(43.95, 65.14, 309.78°)
OKLaboklab(53.44% 0.0838 -0.1417)
OKLCHoklch(53.44% 0.165 300.6)
XYZxyz(20.5478, 13.8037, 49.1490)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50BC #8EBC50
analogous
#5058BC #7E50BC #B450BC
triadic
#7E50BC #BC7E50 #50BC7E
tetradic
#7E50BC #BC5058 #8EBC50 #50BCB4
square
#7E50BC #BC5058 #8EBC50 #50BCB4
split-complementary
#7E50BC #BCB450 #58BC50
monochromatic
#442869 #613996 #7E50BC #9F7CCD #BFA9DE

Accessibility & contrast

On white

5.58
#7E50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7E50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50BC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50BC#FFFFFF#000000##FFFFFF
##7E50BC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#71667E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e50bc;
/* rgb */ color: rgb(126, 80, 188);
/* oklch */ color: oklch(53.4% 0.165 300.6);
Tailwind
colors: {
  custom: {
    50: '#a783d1',
    500: '#7e50bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e50bc;
$custom-light: #a783d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50bc",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 265.556,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.1646,
    "h": 300.6
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#7E50BC
secondary
#B7CB9C
accent
#D4539D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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