#7E3CCD#7E3CCD

#7E3CCD is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.211 H 299.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7E3CCD
RGBrgb(126, 60, 205)
HSLhsl(267, 59%, 52%)
HSVhsv(267, 71%, 80%)
CMYKcmyk(38.5%, 70.7%, 0%, 19.6%)
CIE-LABlab(41.33, 56.27, -64.16)
CIE-LCHlch(41.33, 85.34, 311.25°)
OKLaboklab(51.93% 0.1047 -0.1831)
OKLCHoklch(51.93% 0.211 299.8)
XYZxyz(21.2367, 12.0749, 58.9576)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CCD #8BCD3C
analogous
#3C43CD #7E3CCD #C63CCD
triadic
#7E3CCD #CD7E3C #3CCD7E
tetradic
#7E3CCD #CD3C43 #8BCD3C #3CCDC6
square
#7E3CCD #CD3C43 #8BCD3C #3CCDC6
split-complementary
#7E3CCD #CDC63C #43CD3C
monochromatic
#441D71 #602AA2 #7E3CCD #9E6DD9 #BE9DE6

Accessibility & contrast

On white

6.15
#7E3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7E3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3CCD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CCD#FFFFFF#000000##FFFFFF
##7E3CCD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#6C6081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e3ccd;
/* rgb */ color: rgb(126, 60, 205);
/* oklch */ color: oklch(51.9% 0.211 299.8);
Tailwind
colors: {
  custom: {
    50: '#aa77dd',
    500: '#7e3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7e3ccd;
$custom-light: #aa77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3ccd",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 267.31,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.21092,
    "h": 299.8
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#7E3CCD
secondary
#B5D293
accent
#E2459B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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