#7E5BE8#7E5BE8

#7E5BE8 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.203 H 290.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E5BE8
RGBrgb(126, 91, 232)
HSLhsl(255, 75%, 63%)
HSVhsv(255, 61%, 91%)
CMYKcmyk(45.7%, 60.8%, 0%, 9%)
CIE-LABlab(49.18, 47.34, -66.83)
CIE-LCHlch(49.18, 81.90, 305.32°)
OKLaboklab(58.2% 0.0697 -0.191)
OKLCHoklch(58.2% 0.203 290)
XYZxyz(26.9066, 17.7430, 78.3353)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BE8 #C5E85B
analogous
#5B7EE8 #7E5BE8 #C55BE8
triadic
#7E5BE8 #E87E5B #5BE87E
tetradic
#7E5BE8 #E85B7E #C5E85B #5BE8C5
square
#7E5BE8 #E85B7E #C5E85B #5BE8C5
split-complementary
#7E5BE8 #E8C55B #7EE85B
monochromatic
#3E19B0 #5425E0 #7E5BE8 #A891F0 #D2C6F7

Accessibility & contrast

On white

4.62
#7E5BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7E5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5BE8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BE8#FFFFFF#000000##FFFFFF
##7E5BE81.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#5D7C99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e5be8;
/* rgb */ color: rgb(126, 91, 232);
/* oklch */ color: oklch(58.2% 0.203 290.0);
Tailwind
colors: {
  custom: {
    50: '#ab8bf0',
    500: '#7e5be8',
    950: '#000000',
  },
}
SCSS
$custom: #7e5be8;
$custom-light: #ab8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5be8",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 254.894,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58199,
    "c": 0.2033,
    "h": 290
  },
  "luminance": 0.17744
}

Semantic roles & 50–950 ramp

primary
#7E5BE8
secondary
#DCE9B6
accent
#D80EA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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