#7E3DD4#7E3DD4

#7E3DD4 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.217 H 298.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7E3DD4
RGBrgb(126, 61, 212)
HSLhsl(266, 64%, 54%)
HSVhsv(266, 71%, 83%)
CMYKcmyk(40.6%, 71.2%, 0%, 16.9%)
CIE-LABlab(42.04, 57.53, -67.05)
CIE-LCHlch(42.04, 88.35, 310.63°)
OKLaboklab(52.6% 0.1025 -0.1916)
OKLCHoklch(52.6% 0.217 298.1)
XYZxyz(22.1535, 12.5262, 63.5252)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3DD4 #93D43D
analogous
#3D47D4 #7E3DD4 #C93DD4
triadic
#7E3DD4 #D47E3D #3DD47E
tetradic
#7E3DD4 #D43D47 #93D43D #3DD4C9
square
#7E3DD4 #D43D47 #93D43D #3DD4C9
split-complementary
#7E3DD4 #D4C93D #47D43D
monochromatic
#451B7B #6126AD #7E3DD4 #9F6FDF #C1A1EA

Accessibility & contrast

On white

5.99
#7E3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7E3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3DD4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3DD4#FFFFFF#000000##FFFFFF
##7E3DD41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#696385
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3dd4;
/* rgb */ color: rgb(126, 61, 212);
/* oklch */ color: oklch(52.6% 0.217 298.1);
Tailwind
colors: {
  custom: {
    50: '#aa78e2',
    500: '#7e3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #7e3dd4;
$custom-light: #aa78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3dd4",
  "rgb": {
    "r": 126,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 265.828,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.21727,
    "h": 298.1
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#7E3DD4
secondary
#BBD796
accent
#E7419F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7E3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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