#7E3BD3#7E3BD3

#7E3BD3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.218 H 298.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7E3BD3
RGBrgb(126, 59, 211)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 72%, 83%)
CMYKcmyk(40.3%, 72%, 0%, 17.3%)
CIE-LABlab(41.64, 58.20, -67.13)
CIE-LCHlch(41.64, 88.85, 310.93°)
OKLaboklab(52.29% 0.1045 -0.1918)
OKLCHoklch(52.29% 0.218 298.6)
XYZxyz(21.9230, 12.2664, 62.8280)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BD3 #90D33B
analogous
#3B44D3 #7E3BD3 #CA3BD3
triadic
#7E3BD3 #D37E3B #3BD37E
tetradic
#7E3BD3 #D33B44 #90D33B #3BD3CA
square
#7E3BD3 #D33B44 #90D33B #3BD3CA
split-complementary
#7E3BD3 #D3CA3B #44D33B
monochromatic
#441B79 #6126AB #7E3BD3 #9F6DDE #C09FE9

Accessibility & contrast

On white

6.08
#7E3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7E3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3BD3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BD3#FFFFFF#000000##FFFFFF
##7E3BD31.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#696184
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e3bd3;
/* rgb */ color: rgb(126, 59, 211);
/* oklch */ color: oklch(52.3% 0.218 298.6);
Tailwind
colors: {
  custom: {
    50: '#aa77e2',
    500: '#7e3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bd3;
$custom-light: #aa77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bd3",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 266.447,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.21845,
    "h": 298.6
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#7E3BD3
secondary
#B9D694
accent
#E6419E
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7E3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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