#7E3CD2#7E3CD2

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

Color values

HEX#7E3CD2
RGBrgb(126, 60, 210)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 71%, 82%)
CMYKcmyk(40%, 71.4%, 0%, 17.6%)
CIE-LABlab(41.72, 57.50, -66.42)
CIE-LCHlch(41.72, 87.85, 310.88°)
OKLaboklab(52.32% 0.1038 -0.1897)
OKLCHoklch(52.32% 0.216 298.7)
XYZxyz(21.8499, 12.3202, 62.1871)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CD2 #90D23C
analogous
#3C45D2 #7E3CD2 #C93CD2
triadic
#7E3CD2 #D27E3C #3CD27E
tetradic
#7E3CD2 #D23C45 #90D23C #3CD2C9
square
#7E3CD2 #D23C45 #90D23C #3CD2C9
split-complementary
#7E3CD2 #D2C93C #45D23C
monochromatic
#441C78 #6127AA #7E3CD2 #9F6EDD #C09FE9

Accessibility & contrast

On white

6.06
#7E3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7E3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3CD2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CD2#FFFFFF#000000##FFFFFF
##7E3CD21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#6A6183
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e3cd2;
/* rgb */ color: rgb(126, 60, 210);
/* oklch */ color: oklch(52.3% 0.216 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa77e1',
    500: '#7e3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #7e3cd2;
$custom-light: #aa77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3cd2",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 266.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.21626,
    "h": 298.7
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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