#7E3FCE#7E3FCE

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

Color values

HEX#7E3FCE
RGBrgb(126, 63, 206)
HSLhsl(266, 59%, 53%)
HSVhsv(266, 69%, 81%)
CMYKcmyk(38.8%, 69.4%, 0%, 19.2%)
CIE-LABlab(41.92, 55.10, -63.79)
CIE-LCHlch(41.92, 84.29, 310.82°)
OKLaboklab(52.37% 0.1016 -0.182)
OKLCHoklch(52.37% 0.208 299.2)
XYZxyz(21.5195, 12.4466, 59.6492)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FCE #8FCE3F
analogous
#3F47CE #7E3FCE #C63FCE
triadic
#7E3FCE #CE7E3F #3FCE7E
tetradic
#7E3FCE #CE3F47 #8FCE3F #3FCEC6
square
#7E3FCE #CE3F47 #8FCE3F #3FCEC6
split-complementary
#7E3FCE #CEC63F #47CE3F
monochromatic
#441E75 #612AA6 #7E3FCE #9F70DA #C0A1E7

Accessibility & contrast

On white

6.02
#7E3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3FCE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FCE#FFFFFF#000000##FFFFFF
##7E3FCE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#6B6282
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3fce;
/* rgb */ color: rgb(126, 63, 206);
/* oklch */ color: oklch(52.4% 0.208 299.2);
Tailwind
colors: {
  custom: {
    50: '#aa79de',
    500: '#7e3fce',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fce;
$custom-light: #aa79de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fce",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 266.434,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.20846,
    "h": 299.2
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#7E3FCE
secondary
#B8D395
accent
#E3459D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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