#7E5BC0#7E5BC0

#7E5BC0 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.153 H 297.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7E5BC0
RGBrgb(126, 91, 192)
HSLhsl(261, 44%, 55%)
HSVhsv(261, 53%, 75%)
CMYKcmyk(34.4%, 52.6%, 0%, 24.7%)
CIE-LABlab(46.61, 36.46, -48.12)
CIE-LCHlch(46.61, 60.38, 307.15°)
OKLaboklab(55.48% 0.0698 -0.136)
OKLCHoklch(55.48% 0.153 297.1)
XYZxyz(21.8573, 15.7233, 51.7423)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BC0 #9DC05B
analogous
#5B6AC0 #7E5BC0 #B05BC0
triadic
#7E5BC0 #C07E5B #5BC07E
tetradic
#7E5BC0 #C05B6A #9DC05B #5BC0B0
square
#7E5BC0 #C05B6A #9DC05B #5BC0B0
split-complementary
#7E5BC0 #C0B05B #6AC05B
monochromatic
#452D74 #603EA0 #7E5BC0 #A187D1 #C4B3E2

Accessibility & contrast

On white

5.07
#7E5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E5BC0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BC0#FFFFFF#000000##FFFFFF
##7E5BC01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#3D6DBE
Tritanopia (blue-blind)
#6F6F85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e5bc0;
/* rgb */ color: rgb(126, 91, 192);
/* oklch */ color: oklch(55.5% 0.153 297.1);
Tailwind
colors: {
  custom: {
    50: '#a78ad3',
    500: '#7e5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bc0;
$custom-light: #a78ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bc0",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 260.792,
    "s": 44.493,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.15288,
    "h": 297.1
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#7E5BC0
secondary
#C2D0A6
accent
#D454A8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7E5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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