#7E5BED#7E5BED

#7E5BED is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.209 H 289.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E5BED
RGBrgb(126, 91, 237)
HSLhsl(254, 80%, 64%)
HSVhsv(254, 62%, 93%)
CMYKcmyk(46.8%, 61.6%, 0%, 7.1%)
CIE-LABlab(49.53, 48.74, -69.07)
CIE-LCHlch(49.53, 84.53, 305.21°)
OKLaboklab(58.57% 0.0694 -0.1976)
OKLCHoklch(58.57% 0.209 289.3)
XYZxyz(27.6270, 18.0311, 82.1290)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BED #CAED5B
analogous
#5B81ED #7E5BED #C75BED
triadic
#7E5BED #ED7E5B #5BED7E
tetradic
#7E5BED #ED5B81 #CAED5B #5BEDC7
square
#7E5BED #ED5B81 #CAED5B #5BEDC7
split-complementary
#7E5BED #EDC75B #81ED5B
monochromatic
#3C14B9 #5324E7 #7E5BED #A992F3 #D5C9F9

Accessibility & contrast

On white

4.56
#7E5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7E5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5BED
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BED#FFFFFF#000000##000000
##7E5BED1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#5A7D9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e5bed;
/* rgb */ color: rgb(126, 91, 237);
/* oklch */ color: oklch(58.6% 0.209 289.3);
Tailwind
colors: {
  custom: {
    50: '#ab8bf4',
    500: '#7e5bed',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bed;
$custom-light: #ab8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bed",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 254.384,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.20941,
    "h": 289.3
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#7E5BED
secondary
#DFEBB9
accent
#DD09AA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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