#7E3CD3#7E3CD3

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

Color values

HEX#7E3CD3
RGBrgb(126, 60, 211)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 72%, 83%)
CMYKcmyk(40.3%, 71.6%, 0%, 17.3%)
CIE-LABlab(41.80, 57.75, -66.87)
CIE-LCHlch(41.80, 88.35, 310.81°)
OKLaboklab(52.4% 0.1036 -0.191)
OKLCHoklch(52.4% 0.217 298.5)
XYZxyz(21.9749, 12.3702, 62.8453)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CD3 #91D33C
analogous
#3C45D3 #7E3CD3 #C93CD3
triadic
#7E3CD3 #D37E3C #3CD37E
tetradic
#7E3CD3 #D33C45 #91D33C #3CD3C9
square
#7E3CD3 #D33C45 #91D33C #3CD3C9
split-complementary
#7E3CD3 #D3C93C #45D33C
monochromatic
#441B79 #6127AB #7E3CD3 #9F6EDE #C0A0EA

Accessibility & contrast

On white

6.04
#7E3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3CD3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CD3#FFFFFF#000000##FFFFFF
##7E3CD31.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#696284
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3cd3;
/* rgb */ color: rgb(126, 60, 211);
/* oklch */ color: oklch(52.4% 0.217 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa77e2',
    500: '#7e3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #7e3cd3;
$custom-light: #aa77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3cd3",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 266.225,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.21733,
    "h": 298.5
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#7E3CD3
secondary
#B9D695
accent
#E6429E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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