#7E5DBF#7E5DBF

#7E5DBF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.148 H 296.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E5DBF
RGBrgb(126, 93, 191)
HSLhsl(260, 43%, 56%)
HSVhsv(260, 51%, 75%)
CMYKcmyk(34%, 51.3%, 0%, 25.1%)
CIE-LABlab(47.01, 35.04, -46.91)
CIE-LCHlch(47.01, 58.55, 306.76°)
OKLaboklab(55.76% 0.0671 -0.1325)
OKLCHoklch(55.76% 0.148 296.8)
XYZxyz(21.9202, 16.0256, 51.2185)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5DBF #9EBF5D
analogous
#5D6DBF #7E5DBF #AF5DBF
triadic
#7E5DBF #BF7E5D #5DBF7E
tetradic
#7E5DBF #BF5D6D #9EBF5D #5DBFAF
square
#7E5DBF #BF5D6D #9EBF5D #5DBFAF
split-complementary
#7E5DBF #BFAF5D #6DBF5D
monochromatic
#452E74 #603FA0 #7E5DBF #A189D0 #C4B5E2

Accessibility & contrast

On white

4.99
#7E5DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7E5DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5DBF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5DBF#FFFFFF#000000##FFFFFF
##7E5DBF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#416EBD
Tritanopia (blue-blind)
#6F7085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e5dbf;
/* rgb */ color: rgb(126, 93, 191);
/* oklch */ color: oklch(55.8% 0.148 296.8);
Tailwind
colors: {
  custom: {
    50: '#a78cd3',
    500: '#7e5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e5dbf;
$custom-light: #a78cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5dbf",
  "rgb": {
    "r": 126,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 260.204,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.14849,
    "h": 296.8
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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