#7B2E8F#7B2E8F

#7B2E8F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.164 H 318.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7B2E8F
RGBrgb(123, 46, 143)
HSLhsl(288, 51%, 37%)
HSVhsv(288, 68%, 56%)
CMYKcmyk(14%, 67.8%, 0%, 43.9%)
CIE-LABlab(34.29, 47.93, -38.65)
CIE-LCHlch(34.29, 61.57, 321.12°)
OKLaboklab(45.43% 0.1231 -0.1082)
OKLCHoklch(45.43% 0.164 318.7)
XYZxyz(14.1026, 8.1487, 26.8113)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E8F #428F2E
analogous
#4B2E8F #7B2E8F #8F2E73
triadic
#7B2E8F #8F7B2E #2E8F7B
tetradic
#7B2E8F #8F4B2E #428F2E #2E738F
square
#7B2E8F #8F4B2E #428F2E #2E738F
split-complementary
#7B2E8F #738F2E #2E8F4B
monochromatic
#2B1032 #531F61 #7B2E8F #A33DBD #BA69CF

Accessibility & contrast

On white

7.99
#7B2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7B2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E8F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E8F#FFFFFF#000000##FFFFFF
##7B2E8F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#7B3F5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b2e8f;
/* rgb */ color: rgb(123, 46, 143);
/* oklch */ color: oklch(45.4% 0.164 318.7);
Tailwind
colors: {
  custom: {
    50: '#a46db0',
    500: '#7b2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e8f;
$custom-light: #a46db0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e8f",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 287.629,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45434,
    "c": 0.16388,
    "h": 318.7
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#7B2E8F
secondary
#74B663
accent
#DB4D6A
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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