#7E2BB0#7E2BB0

#7E2BB0 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.201 H 309.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7E2BB0
RGBrgb(126, 43, 176)
HSLhsl(277, 61%, 43%)
HSVhsv(277, 76%, 69%)
CMYKcmyk(28.4%, 75.6%, 0%, 31%)
CIE-LABlab(36.55, 56.86, -54.92)
CIE-LCHlch(36.55, 79.05, 315.99°)
OKLaboklab(47.86% 0.1264 -0.1558)
OKLCHoklch(47.86% 0.201 309)
XYZxyz(17.3029, 9.2983, 41.9491)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2BB0 #5DB02B
analogous
#3C2BB0 #7E2BB0 #B02B9F
triadic
#7E2BB0 #B07E2B #2BB07E
tetradic
#7E2BB0 #B03C2B #5DB02B #2B9FB0
square
#7E2BB0 #B03C2B #5DB02B #2B9FB0
split-complementary
#7E2BB0 #9FB02B #2BB03C
monochromatic
#38134E #5B1F7F #7E2BB0 #9D46D2 #B778DE

Accessibility & contrast

On white

7.34
#7E2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7E2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2BB0
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2BB0#FFFFFF#000000##FFFFFF
##7E2BB01.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#764B6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e2bb0;
/* rgb */ color: rgb(126, 43, 176);
/* oklch */ color: oklch(47.9% 0.201 309.0);
Tailwind
colors: {
  custom: {
    50: '#a86dc8',
    500: '#7e2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7e2bb0;
$custom-light: #a86dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2bb0",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 277.444,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.20064,
    "h": 309
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#7E2BB0
secondary
#91C671
accent
#E44480
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7E2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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