#7B2EAD#7B2EAD

#7B2EAD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.194 H 308.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7B2EAD
RGBrgb(123, 46, 173)
HSLhsl(276, 58%, 43%)
HSVhsv(276, 73%, 68%)
CMYKcmyk(28.9%, 73.4%, 0%, 32.2%)
CIE-LABlab(36.33, 54.40, -53.51)
CIE-LCHlch(36.33, 76.31, 315.47°)
OKLaboklab(47.54% 0.12 -0.1518)
OKLCHoklch(47.54% 0.194 308.3)
XYZxyz(16.6866, 9.1823, 40.4204)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2EAD #60AD2E
analogous
#3B2EAD #7B2EAD #AD2E9F
triadic
#7B2EAD #AD7B2E #2EAD7B
tetradic
#7B2EAD #AD3B2E #60AD2E #2E9FAD
square
#7B2EAD #AD3B2E #60AD2E #2E9FAD
split-complementary
#7B2EAD #9FAD2E #2EAD3B
monochromatic
#36144C #59217D #7B2EAD #9A49CF #B57ADC

Accessibility & contrast

On white

7.40
#7B2EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7B2EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2EAD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2EAD#FFFFFF#000000##FFFFFF
##7B2EAD1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0356AA
Tritanopia (blue-blind)
#734C6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2ead;
/* rgb */ color: rgb(123, 46, 173);
/* oklch */ color: oklch(47.5% 0.194 308.3);
Tailwind
colors: {
  custom: {
    50: '#a66ec6',
    500: '#7b2ead',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ead;
$custom-light: #a66ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ead",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 276.378,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.1935,
    "h": 308.3
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#7B2EAD
secondary
#93C473
accent
#E14783
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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