#7B2C8E#7B2C8E

#7B2C8E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.166 H 319.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7B2C8E
RGBrgb(123, 44, 142)
HSLhsl(288, 53%, 36%)
HSVhsv(288, 69%, 56%)
CMYKcmyk(13.4%, 69%, 0%, 44.3%)
CIE-LABlab(33.91, 48.61, -38.64)
CIE-LCHlch(33.91, 62.10, 321.52°)
OKLaboklab(45.14% 0.1255 -0.1082)
OKLCHoklch(45.14% 0.166 319.2)
XYZxyz(13.9509, 7.9660, 26.3887)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C8E #3F8E2C
analogous
#4A2C8E #7B2C8E #8E2C70
triadic
#7B2C8E #8E7B2C #2C8E7B
tetradic
#7B2C8E #8E4A2C #3F8E2C #2C708E
square
#7B2C8E #8E4A2C #3F8E2C #2C708E
split-complementary
#7B2C8E #708E2C #2C8E4A
monochromatic
#2A0F31 #531E5F #7B2C8E #A33ABD #BB65CF

Accessibility & contrast

On white

8.10
#7B2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C8E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C8E#FFFFFF#000000##FFFFFF
##7B2C8E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A91
Deuteranopia (green-blind)
#33528C
Tritanopia (blue-blind)
#7B3E59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2c8e;
/* rgb */ color: rgb(123, 44, 142);
/* oklch */ color: oklch(45.1% 0.166 319.2);
Tailwind
colors: {
  custom: {
    50: '#a46caf',
    500: '#7b2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c8e;
$custom-light: #a46caf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c8e",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 288.367,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45141,
    "c": 0.16565,
    "h": 319.2
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#7B2C8E
secondary
#71B660
accent
#DC4C68
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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