#7E3BD5#7E3BD5

#7E3BD5 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.221 H 298.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7E3BD5
RGBrgb(126, 59, 213)
HSLhsl(266, 65%, 53%)
HSVhsv(266, 72%, 84%)
CMYKcmyk(40.8%, 72.3%, 0%, 16.5%)
CIE-LABlab(41.79, 58.70, -68.03)
CIE-LCHlch(41.79, 89.85, 310.79°)
OKLaboklab(52.45% 0.1041 -0.1944)
OKLCHoklch(52.45% 0.221 298.2)
XYZxyz(22.1753, 12.3673, 64.1567)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BD5 #92D53B
analogous
#3B45D5 #7E3BD5 #CB3BD5
triadic
#7E3BD5 #D57E3B #3BD57E
tetradic
#7E3BD5 #D53B45 #92D53B #3BD5CB
square
#7E3BD5 #D53B45 #92D53B #3BD5CB
split-complementary
#7E3BD5 #D5CB3B #45D53B
monochromatic
#451A7B #6125AE #7E3BD5 #9F6DE0 #C0A0EB

Accessibility & contrast

On white

6.05
#7E3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7E3BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3BD5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BD5#FFFFFF#000000##FFFFFF
##7E3BD51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#686285
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3bd5;
/* rgb */ color: rgb(126, 59, 213);
/* oklch */ color: oklch(52.4% 0.221 298.2);
Tailwind
colors: {
  custom: {
    50: '#aa77e3',
    500: '#7e3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bd5;
$custom-light: #aa77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bd5",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 266.104,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.22056,
    "h": 298.2
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#7E3BD5
secondary
#BAD795
accent
#E8409F
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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