#7E5BBE#7E5BBE

#7E5BBE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.4% C 0.150 H 297.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E5BBE
RGBrgb(126, 91, 190)
HSLhsl(261, 43%, 55%)
HSVhsv(261, 52%, 75%)
CMYKcmyk(33.7%, 52.1%, 0%, 25.5%)
CIE-LABlab(46.49, 35.94, -47.15)
CIE-LCHlch(46.49, 59.29, 307.31°)
OKLaboklab(55.36% 0.0696 -0.1332)
OKLCHoklch(55.36% 0.15 297.6)
XYZxyz(21.6372, 15.6352, 50.5832)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BBE #9BBE5B
analogous
#5B6ABE #7E5BBE #AF5BBE
triadic
#7E5BBE #BE7E5B #5BBE7E
tetradic
#7E5BBE #BE5B6A #9BBE5B #5BBEAF
square
#7E5BBE #BE5B6A #9BBE5B #5BBEAF
split-complementary
#7E5BBE #BEAF5B #6ABE5B
monochromatic
#452D72 #603E9D #7E5BBE #A087CF #C3B3E1

Accessibility & contrast

On white

5.09
#7E5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5BBE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BBE#FFFFFF#000000##FFFFFF
##7E5BBE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC1
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#706E84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e5bbe;
/* rgb */ color: rgb(126, 91, 190);
/* oklch */ color: oklch(55.4% 0.150 297.6);
Tailwind
colors: {
  custom: {
    50: '#a78ad2',
    500: '#7e5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bbe;
$custom-light: #a78ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bbe",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 261.212,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.15029,
    "h": 297.6
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#7E5BBE
secondary
#C0CFA6
accent
#D355A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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