#7E5BBF#7E5BBF

#7E5BBF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.152 H 297.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E5BBF
RGBrgb(126, 91, 191)
HSLhsl(261, 44%, 55%)
HSVhsv(261, 52%, 75%)
CMYKcmyk(34%, 52.4%, 0%, 25.1%)
CIE-LABlab(46.55, 36.20, -47.64)
CIE-LCHlch(46.55, 59.83, 307.23°)
OKLaboklab(55.42% 0.0697 -0.1346)
OKLCHoklch(55.42% 0.152 297.4)
XYZxyz(21.7469, 15.6791, 51.1607)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BBF #9CBF5B
analogous
#5B6ABF #7E5BBF #B05BBF
triadic
#7E5BBF #BF7E5B #5BBF7E
tetradic
#7E5BBF #BF5B6A #9CBF5B #5BBFB0
square
#7E5BBF #BF5B6A #9CBF5B #5BBFB0
split-complementary
#7E5BBF #BFB05B #6ABF5B
monochromatic
#452D73 #603E9F #7E5BBF #A187D0 #C3B3E1

Accessibility & contrast

On white

5.08
#7E5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7E5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5BBF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BBF#FFFFFF#000000##FFFFFF
##7E5BBF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#706F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e5bbf;
/* rgb */ color: rgb(126, 91, 191);
/* oklch */ color: oklch(55.4% 0.152 297.4);
Tailwind
colors: {
  custom: {
    50: '#a78ad3',
    500: '#7e5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bbf;
$custom-light: #a78ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bbf",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 261,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.15159,
    "h": 297.4
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#7E5BBF
secondary
#C1D0A6
accent
#D454A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7E5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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