#7E3CCF#7E3CCF

#7E3CCF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.213 H 299.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7E3CCF
RGBrgb(126, 60, 207)
HSLhsl(267, 60%, 52%)
HSVhsv(267, 71%, 81%)
CMYKcmyk(39.1%, 71%, 0%, 18.8%)
CIE-LABlab(41.49, 56.76, -65.07)
CIE-LCHlch(41.49, 86.34, 311.10°)
OKLaboklab(52.08% 0.1044 -0.1857)
OKLCHoklch(52.08% 0.213 299.3)
XYZxyz(21.4797, 12.1721, 60.2372)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CCF #8DCF3C
analogous
#3C43CF #7E3CCF #C83CCF
triadic
#7E3CCF #CF7E3C #3CCF7E
tetradic
#7E3CCF #CF3C43 #8DCF3C #3CCFC8
square
#7E3CCF #CF3C43 #8DCF3C #3CCFC8
split-complementary
#7E3CCF #CFC83C #43CF3C
monochromatic
#441D74 #6129A5 #7E3CCF #9E6DDB #BF9EE7

Accessibility & contrast

On white

6.11
#7E3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7E3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3CCF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CCF#FFFFFF#000000##FFFFFF
##7E3CCF1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#6B6082
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e3ccf;
/* rgb */ color: rgb(126, 60, 207);
/* oklch */ color: oklch(52.1% 0.213 299.3);
Tailwind
colors: {
  custom: {
    50: '#aa77df',
    500: '#7e3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #7e3ccf;
$custom-light: #aa77df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3ccf",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 266.939,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.21306,
    "h": 299.3
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#7E3CCF
secondary
#B7D393
accent
#E4449C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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