#7E4BEE#7E4BEE

#7E4BEE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.230 H 291.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E4BEE
RGBrgb(126, 75, 238)
HSLhsl(259, 83%, 61%)
HSVhsv(259, 68%, 93%)
CMYKcmyk(47.1%, 68.5%, 0%, 6.7%)
CIE-LABlab(46.50, 57.45, -74.57)
CIE-LCHlch(46.50, 94.13, 307.61°)
OKLaboklab(56.4% 0.0848 -0.2137)
OKLCHoklch(56.4% 0.23 291.6)
XYZxyz(26.5485, 15.6399, 82.4923)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BEE #BBEE4B
analogous
#4B6AEE #7E4BEE #D04BEE
triadic
#7E4BEE #EE7E4B #4BEE7E
tetradic
#7E4BEE #EE4B6A #BBEE4B #4BEED0
square
#7E4BEE #EE4B6A #BBEE4B #4BEED0
split-complementary
#7E4BEE #EED04B #6AEE4B
monochromatic
#4210AE #5716E6 #7E4BEE #A683F3 #CEBBF9

Accessibility & contrast

On white

5.09
#7E4BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E4BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BEE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BEE#FFFFFF#000000##FFFFFF
##7E4BEE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#5B7497
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e4bee;
/* rgb */ color: rgb(126, 75, 238);
/* oklch */ color: oklch(56.4% 0.230 291.6);
Tailwind
colors: {
  custom: {
    50: '#ac81f5',
    500: '#7e4bee',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bee;
$custom-light: #ac81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bee",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 238
  },
  "hsl": {
    "h": 258.773,
    "s": 82.741,
    "l": 61.373
  },
  "oklch": {
    "l": 0.564,
    "c": 0.22995,
    "h": 291.6
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#7E4BEE
secondary
#D6E9AC
accent
#DF069B
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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