#7E1EBB#7E1EBB

#7E1EBB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.7% C 0.223 H 306.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7E1EBB
RGBrgb(126, 30, 187)
HSLhsl(277, 72%, 43%)
HSVhsv(277, 84%, 73%)
CMYKcmyk(32.6%, 84%, 0%, 26.7%)
CIE-LABlab(35.89, 63.65, -62.51)
CIE-LCHlch(35.89, 89.22, 315.52°)
OKLaboklab(47.66% 0.1338 -0.1781)
OKLCHoklch(47.66% 0.223 306.9)
XYZxyz(18.0361, 8.9522, 47.7819)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1EBB #5BBB1E
analogous
#301EBB #7E1EBB #BB1EA9
triadic
#7E1EBB #BB7E1E #1EBB7E
tetradic
#7E1EBB #BB301E #5BBB1E #1EA9BB
square
#7E1EBB #BB301E #5BBB1E #1EA9BB
split-complementary
#7E1EBB #A9BB1E #1EBB30
monochromatic
#370D52 #5A1686 #7E1EBB #9E37DF #B76CE7

Accessibility & contrast

On white

7.53
#7E1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7E1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1EBB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1EBB#FFFFFF#000000##FFFFFF
##7E1EBB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#734A70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e1ebb;
/* rgb */ color: rgb(126, 30, 187);
/* oklch */ color: oklch(47.7% 0.223 306.9);
Tailwind
colors: {
  custom: {
    50: '#aa68d0',
    500: '#7e1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #7e1ebb;
$custom-light: #aa68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1ebb",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 276.688,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47663,
    "c": 0.2227,
    "h": 306.9
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#7E1EBB
secondary
#8FCD67
accent
#EF3980
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7E1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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