#7E2EBD#7E2EBD

#7E2EBD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.210 H 305.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7E2EBD
RGBrgb(126, 46, 189)
HSLhsl(274, 61%, 46%)
HSVhsv(274, 76%, 74%)
CMYKcmyk(33.3%, 75.7%, 0%, 25.9%)
CIE-LABlab(37.96, 58.57, -60.33)
CIE-LCHlch(37.96, 84.08, 314.15°)
OKLaboklab(49.15% 0.121 -0.1717)
OKLCHoklch(49.15% 0.21 305.2)
XYZxyz(18.7644, 10.0639, 49.0882)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2EBD #6DBD2E
analogous
#362EBD #7E2EBD #BD2EB4
triadic
#7E2EBD #BD7E2E #2EBD7E
tetradic
#7E2EBD #BD362E #6DBD2E #2EB4BD
square
#7E2EBD #BD362E #6DBD2E #2EB4BD
split-complementary
#7E2EBD #B4BD2E #2EBD36
monochromatic
#3C165B #5D228C #7E2EBD #9C53D5 #B884E1

Accessibility & contrast

On white

6.97
#7E2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7E2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E2EBD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2EBD#FFFFFF#000000##FFFFFF
##7E2EBD1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#725274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e2ebd;
/* rgb */ color: rgb(126, 46, 189);
/* oklch */ color: oklch(49.2% 0.210 305.2);
Tailwind
colors: {
  custom: {
    50: '#a96fd2',
    500: '#7e2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7e2ebd;
$custom-light: #a96fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2ebd",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 273.566,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.21008,
    "h": 305.2
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#7E2EBD
secondary
#9FCA7C
accent
#E4448A
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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