#7E2BC0#7E2BC0

#7E2BC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.216 H 304.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7E2BC0
RGBrgb(126, 43, 192)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 78%, 75%)
CMYKcmyk(34.4%, 77.6%, 0%, 24.7%)
CIE-LABlab(37.79, 60.41, -62.37)
CIE-LCHlch(37.79, 86.83, 314.09°)
OKLaboklab(49.11% 0.1229 -0.1777)
OKLCHoklch(49.11% 0.216 304.7)
XYZxyz(18.9803, 9.9692, 50.7833)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2BC0 #6DC02B
analogous
#342BC0 #7E2BC0 #C02BB7
triadic
#7E2BC0 #C07E2B #2BC07E
tetradic
#7E2BC0 #C0342B #6DC02B #2BB7C0
square
#7E2BC0 #C0342B #6DC02B #2BB7C0
split-complementary
#7E2BC0 #B7C02B #2BC034
monochromatic
#3C155C #5D208E #7E2BC0 #9C50D8 #B882E3

Accessibility & contrast

On white

7.01
#7E2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7E2BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2BC0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2BC0#FFFFFF#000000##FFFFFF
##7E2BC01.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#715275
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e2bc0;
/* rgb */ color: rgb(126, 43, 192);
/* oklch */ color: oklch(49.1% 0.216 304.7);
Tailwind
colors: {
  custom: {
    50: '#a96ed4',
    500: '#7e2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7e2bc0;
$custom-light: #a96ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2bc0",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 273.423,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.21604,
    "h": 304.7
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#7E2BC0
secondary
#9FCC7B
accent
#E6418A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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