#7E5EBF#7E5EBF

#7E5EBF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.147 H 296.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7E5EBF
RGBrgb(126, 94, 191)
HSLhsl(260, 43%, 56%)
HSVhsv(260, 51%, 75%)
CMYKcmyk(34%, 50.8%, 0%, 25.1%)
CIE-LABlab(47.24, 34.45, -46.54)
CIE-LCHlch(47.24, 57.91, 306.51°)
OKLaboklab(55.93% 0.0657 -0.1314)
OKLCHoklch(55.93% 0.147 296.6)
XYZxyz(22.0085, 16.2023, 51.2479)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EBF #9FBF5E
analogous
#5E6EBF #7E5EBF #AE5EBF
triadic
#7E5EBF #BF7E5E #5EBF7E
tetradic
#7E5EBF #BF5E6E #9FBF5E #5EBFAE
square
#7E5EBF #BF5E6E #9FBF5E #5EBFAE
split-complementary
#7E5EBF #BFAE5E #6EBF5E
monochromatic
#452E74 #5F40A0 #7E5EBF #A18AD0 #C4B6E2

Accessibility & contrast

On white

4.95
#7E5EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7E5EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5EBF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EBF#FFFFFF#000000##FFFFFF
##7E5EBF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#6F7186
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e5ebf;
/* rgb */ color: rgb(126, 94, 191);
/* oklch */ color: oklch(55.9% 0.147 296.6);
Tailwind
colors: {
  custom: {
    50: '#a68cd3',
    500: '#7e5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ebf;
$custom-light: #a68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ebf",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 259.794,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.14693,
    "h": 296.6
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#7E5EBF
secondary
#C3D0A8
accent
#D355A9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7E5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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