#7E3BCD#7E3BCD

#7E3BCD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.212 H 299.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7E3BCD
RGBrgb(126, 59, 205)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 71%, 80%)
CMYKcmyk(38.5%, 71.2%, 0%, 19.6%)
CIE-LABlab(41.17, 56.73, -64.43)
CIE-LCHlch(41.17, 85.85, 311.37°)
OKLaboklab(51.81% 0.1057 -0.1839)
OKLCHoklch(51.81% 0.212 299.9)
XYZxyz(21.1849, 11.9711, 58.9403)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BCD #8ACD3B
analogous
#3B41CD #7E3BCD #C73BCD
triadic
#7E3BCD #CD7E3B #3BCD7E
tetradic
#7E3BCD #CD3B41 #8ACD3B #3BCDC7
square
#7E3BCD #CD3B41 #8ACD3B #3BCDC7
split-complementary
#7E3BCD #CDC73B #41CD3B
monochromatic
#431D71 #6029A2 #7E3BCD #9E6CD9 #BE9DE6

Accessibility & contrast

On white

6.19
#7E3BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7E3BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3BCD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BCD#FFFFFF#000000##FFFFFF
##7E3BCD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e3bcd;
/* rgb */ color: rgb(126, 59, 205);
/* oklch */ color: oklch(51.8% 0.212 299.9);
Tailwind
colors: {
  custom: {
    50: '#aa77dd',
    500: '#7e3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bcd;
$custom-light: #aa77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bcd",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 267.534,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51811,
    "c": 0.21209,
    "h": 299.9
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#7E3BCD
secondary
#B5D292
accent
#E3459A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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