#7E3DD2#7E3DD2

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

Color values

HEX#7E3DD2
RGBrgb(126, 61, 210)
HSLhsl(266, 62%, 53%)
HSVhsv(266, 71%, 82%)
CMYKcmyk(40%, 71%, 0%, 17.6%)
CIE-LABlab(41.89, 57.04, -66.15)
CIE-LCHlch(41.89, 87.35, 310.77°)
OKLaboklab(52.44% 0.1029 -0.1889)
OKLCHoklch(52.44% 0.215 298.6)
XYZxyz(21.9028, 12.4259, 62.2048)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3DD2 #91D23D
analogous
#3D47D2 #7E3DD2 #C83DD2
triadic
#7E3DD2 #D27E3D #3DD27E
tetradic
#7E3DD2 #D23D47 #91D23D #3DD2C8
square
#7E3DD2 #D23D47 #91D23D #3DD2C8
split-complementary
#7E3DD2 #D2C83D #47D23D
monochromatic
#441C79 #6128AA #7E3DD2 #9F6FDE #C0A0E9

Accessibility & contrast

On white

6.03
#7E3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7E3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3DD2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3DD2#FFFFFF#000000##FFFFFF
##7E3DD21.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#6A6284
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3dd2;
/* rgb */ color: rgb(126, 61, 210);
/* oklch */ color: oklch(52.4% 0.215 298.6);
Tailwind
colors: {
  custom: {
    50: '#aa78e1',
    500: '#7e3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #7e3dd2;
$custom-light: #aa78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3dd2",
  "rgb": {
    "r": 126,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 266.174,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.21512,
    "h": 298.6
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#7E3DD2
secondary
#B9D695
accent
#E5429E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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