#7E3BD0#7E3BD0

#7E3BD0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.215 H 299.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7E3BD0
RGBrgb(126, 59, 208)
HSLhsl(267, 61%, 52%)
HSVhsv(267, 72%, 82%)
CMYKcmyk(39.4%, 71.6%, 0%, 18.4%)
CIE-LABlab(41.40, 57.47, -65.78)
CIE-LCHlch(41.40, 87.35, 311.14°)
OKLaboklab(52.05% 0.1051 -0.1878)
OKLCHoklch(52.05% 0.215 299.2)
XYZxyz(21.5504, 12.1174, 60.8658)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BD0 #8DD03B
analogous
#3B42D0 #7E3BD0 #C93BD0
triadic
#7E3BD0 #D07E3B #3BD07E
tetradic
#7E3BD0 #D03B42 #8DD03B #3BD0C9
square
#7E3BD0 #D03B42 #8DD03B #3BD0C9
split-complementary
#7E3BD0 #D0C93B #42D03B
monochromatic
#441C75 #6128A6 #7E3BD0 #9E6CDC #BF9EE8

Accessibility & contrast

On white

6.13
#7E3BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3BD0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BD0#FFFFFF#000000##FFFFFF
##7E3BD01.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#6B6082
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e3bd0;
/* rgb */ color: rgb(126, 59, 208);
/* oklch */ color: oklch(52.0% 0.215 299.2);
Tailwind
colors: {
  custom: {
    50: '#aa77df',
    500: '#7e3bd0',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bd0;
$custom-light: #aa77df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bd0",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 208
  },
  "hsl": {
    "h": 266.98,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.21527,
    "h": 299.2
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#7E3BD0
secondary
#B7D493
accent
#E4439C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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