#7E3CE3#7E3CE3

#7E3CE3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.234 H 295.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7E3CE3
RGBrgb(126, 60, 227)
HSLhsl(264, 75%, 56%)
HSVhsv(264, 74%, 89%)
CMYKcmyk(44.5%, 73.6%, 0%, 11%)
CIE-LABlab(43.08, 61.72, -73.93)
CIE-LCHlch(43.08, 96.31, 309.86°)
OKLaboklab(53.71% 0.1002 -0.2118)
OKLCHoklch(53.71% 0.234 295.3)
XYZxyz(24.0814, 13.2128, 73.9397)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CE3 #A1E33C
analogous
#3C4EE3 #7E3CE3 #D23CE3
triadic
#7E3CE3 #E37E3C #3CE37E
tetradic
#7E3CE3 #E33C4E #A1E33C #3CE3D2
square
#7E3CE3 #E33C4E #A1E33C #3CE3D2
split-complementary
#7E3CE3 #E3D23C #4EE33C
monochromatic
#451590 #5F1CC5 #7E3CE3 #A172EB #C5A7F2

Accessibility & contrast

On white

5.77
#7E3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7E3CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3CE3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CE3#FFFFFF#000000##FFFFFF
##7E3CE31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#62688D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e3ce3;
/* rgb */ color: rgb(126, 60, 227);
/* oklch */ color: oklch(53.7% 0.234 295.3);
Tailwind
colors: {
  custom: {
    50: '#ac78ed',
    500: '#7e3ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7e3ce3;
$custom-light: #ac78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3ce3",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 263.713,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53705,
    "c": 0.23427,
    "h": 295.3
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#7E3CE3
secondary
#C5E09B
accent
#F236A8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E3CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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