#7E5BE6#7E5BE6

#7E5BE6 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.201 H 290.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E5BE6
RGBrgb(126, 91, 230)
HSLhsl(255, 74%, 63%)
HSVhsv(255, 60%, 90%)
CMYKcmyk(45.2%, 60.4%, 0%, 9.8%)
CIE-LABlab(49.04, 46.79, -65.92)
CIE-LCHlch(49.04, 80.84, 305.37°)
OKLaboklab(58.05% 0.0698 -0.1883)
OKLCHoklch(58.05% 0.201 290.3)
XYZxyz(26.6242, 17.6300, 76.8477)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BE6 #C3E65B
analogous
#5B7DE6 #7E5BE6 #C35BE6
triadic
#7E5BE6 #E67E5B #5BE67E
tetradic
#7E5BE6 #E65B7D #C3E65B #5BE6C3
square
#7E5BE6 #E65B7D #C3E65B #5BE6C3
split-complementary
#7E5BE6 #E6C35B #7DE65B
monochromatic
#3F1AAC #5426DE #7E5BE6 #A890EE #D2C5F6

Accessibility & contrast

On white

4.64
#7E5BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7E5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5BE6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BE6#FFFFFF#000000##FFFFFF
##7E5BE61.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#5E7B98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e5be6;
/* rgb */ color: rgb(126, 91, 230);
/* oklch */ color: oklch(58.1% 0.201 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa8bef',
    500: '#7e5be6',
    950: '#000000',
  },
}
SCSS
$custom: #7e5be6;
$custom-light: #aa8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5be6",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 255.108,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.20085,
    "h": 290.3
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#7E5BE6
secondary
#DBE7B5
accent
#D610A4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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