#7E5BF4#7E5BF4

#7E5BF4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.218 H 288.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E5BF4
RGBrgb(126, 91, 244)
HSLhsl(254, 87%, 66%)
HSVhsv(254, 63%, 96%)
CMYKcmyk(48.4%, 62.7%, 0%, 4.3%)
CIE-LABlab(50.04, 50.69, -72.17)
CIE-LCHlch(50.04, 88.20, 305.08°)
OKLaboklab(59.09% 0.0688 -0.2067)
OKLCHoklch(59.09% 0.218 288.4)
XYZxyz(28.6697, 18.4482, 87.6206)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5BF4 #D1F45B
analogous
#5B85F4 #7E5BF4 #CA5BF4
triadic
#7E5BF4 #F47E5B #5BF47E
tetradic
#7E5BF4 #F45B85 #D1F45B #5BF4CA
square
#7E5BF4 #F45B85 #D1F45B #5BF4CA
split-complementary
#7E5BF4 #F4CA5B #85F45B
monochromatic
#380DC7 #5122F0 #7E5BF4 #AB94F8 #D8CEFC

Accessibility & contrast

On white

4.48
#7E5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7E5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5BF4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5BF4#FFFFFF#000000##000000
##7E5BF41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#56809F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5bf4;
/* rgb */ color: rgb(126, 91, 244);
/* oklch */ color: oklch(59.1% 0.218 288.4);
Tailwind
colors: {
  custom: {
    50: '#ac8bf9',
    500: '#7e5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7e5bf4;
$custom-light: #ac8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5bf4",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 253.725,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.21786,
    "h": 288.4
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#7E5BF4
secondary
#E3EFBC
accent
#E402B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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