#7B2EAE#7B2EAE

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

Color values

HEX#7B2EAE
RGBrgb(123, 46, 174)
HSLhsl(276, 58%, 43%)
HSVhsv(276, 74%, 68%)
CMYKcmyk(29.3%, 73.6%, 0%, 31.8%)
CIE-LABlab(36.41, 54.62, -53.99)
CIE-LCHlch(36.41, 76.80, 315.34°)
OKLaboklab(47.62% 0.1198 -0.1532)
OKLCHoklch(47.62% 0.194 308)
XYZxyz(16.7838, 9.2212, 40.9319)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2EAE #61AE2E
analogous
#3B2EAE #7B2EAE #AE2EA1
triadic
#7B2EAE #AE7B2E #2EAE7B
tetradic
#7B2EAE #AE3B2E #61AE2E #2EA1AE
square
#7B2EAE #AE3B2E #61AE2E #2EA1AE
split-complementary
#7B2EAE #A1AE2E #2EAE3B
monochromatic
#37144D #59217E #7B2EAE #9A4ACF #B57ADC

Accessibility & contrast

On white

7.38
#7B2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2EAE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2EAE#FFFFFF#000000##FFFFFF
##7B2EAE1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#734C6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2eae;
/* rgb */ color: rgb(123, 46, 174);
/* oklch */ color: oklch(47.6% 0.194 308.0);
Tailwind
colors: {
  custom: {
    50: '#a66ec7',
    500: '#7b2eae',
    950: '#000000',
  },
}
SCSS
$custom: #7b2eae;
$custom-light: #a66ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2eae",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 276.094,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.19449,
    "h": 308
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#7B2EAE
secondary
#94C474
accent
#E14684
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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