#7E3DCD#7E3DCD

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

Color values

HEX#7E3DCD
RGBrgb(126, 61, 205)
HSLhsl(267, 59%, 52%)
HSVhsv(267, 70%, 80%)
CMYKcmyk(38.5%, 70.2%, 0%, 19.6%)
CIE-LABlab(41.50, 55.80, -63.89)
CIE-LCHlch(41.50, 84.83, 311.13°)
OKLaboklab(52.05% 0.1038 -0.1823)
OKLCHoklch(52.05% 0.21 299.7)
XYZxyz(21.2896, 12.1807, 58.9752)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3DCD #8CCD3D
analogous
#3D44CD #7E3DCD #C63DCD
triadic
#7E3DCD #CD7E3D #3DCD7E
tetradic
#7E3DCD #CD3D44 #8CCD3D #3DCDC6
square
#7E3DCD #CD3D44 #8CCD3D #3DCDC6
split-complementary
#7E3DCD #CDC63D #44CD3D
monochromatic
#441D72 #612AA3 #7E3DCD #9E6EDA #BF9EE6

Accessibility & contrast

On white

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

On black

3.44
#7E3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E3DCD#FFFFFF#000000##FFFFFF
##7E3DCD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e3dcd;
/* rgb */ color: rgb(126, 61, 205);
/* oklch */ color: oklch(52.0% 0.210 299.7);
Tailwind
colors: {
  custom: {
    50: '#aa78dd',
    500: '#7e3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7e3dcd;
$custom-light: #aa78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3dcd",
  "rgb": {
    "r": 126,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 267.083,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.20976,
    "h": 299.7
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#7E3DCD
secondary
#B6D293
accent
#E2469C
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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