#7E4BDE#7E4BDE

#7E4BDE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.212 H 294.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E4BDE
RGBrgb(126, 75, 222)
HSLhsl(261, 69%, 58%)
HSVhsv(261, 66%, 87%)
CMYKcmyk(43.2%, 66.2%, 0%, 12.9%)
CIE-LABlab(45.28, 53.22, -67.50)
CIE-LCHlch(45.28, 85.96, 308.25°)
OKLaboklab(55.15% 0.0872 -0.193)
OKLCHoklch(55.15% 0.212 294.3)
XYZxyz(24.3015, 14.7411, 70.6580)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BDE #ABDE4B
analogous
#4B61DE #7E4BDE #C74BDE
triadic
#7E4BDE #DE7E4B #4BDE7E
tetradic
#7E4BDE #DE4B61 #ABDE4B #4BDEC7
square
#7E4BDE #DE4B61 #ABDE4B #4BDEC7
split-complementary
#7E4BDE #DEC74B #61DE4B
monochromatic
#451B94 #5D25C7 #7E4BDE #A37FE7 #C8B2F1

Accessibility & contrast

On white

5.32
#7E4BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7E4BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BDE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BDE#FFFFFF#000000##FFFFFF
##7E4BDE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#636E8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e4bde;
/* rgb */ color: rgb(126, 75, 222);
/* oklch */ color: oklch(55.1% 0.212 294.3);
Tailwind
colors: {
  custom: {
    50: '#aa80e9',
    500: '#7e4bde',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bde;
$custom-light: #aa80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bde",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 260.816,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.21176,
    "h": 294.3
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#7E4BDE
secondary
#CBE0A5
accent
#EC3CAF
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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