#7B2C8D#7B2C8D

#7B2C8D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.165 H 319.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7B2C8D
RGBrgb(123, 44, 141)
HSLhsl(289, 52%, 36%)
HSVhsv(289, 69%, 55%)
CMYKcmyk(12.8%, 68.8%, 0%, 44.7%)
CIE-LABlab(33.85, 48.41, -38.12)
CIE-LCHlch(33.85, 61.62, 321.78°)
OKLaboklab(45.08% 0.1255 -0.1067)
OKLCHoklch(45.08% 0.165 319.6)
XYZxyz(13.8762, 7.9361, 25.9950)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C8D #3E8D2C
analogous
#4B2C8D #7B2C8D #8D2C6F
triadic
#7B2C8D #8D7B2C #2C8D7B
tetradic
#7B2C8D #8D4B2C #3E8D2C #2C6F8D
square
#7B2C8D #8D4B2C #3E8D2C #2C6F8D
split-complementary
#7B2C8D #6F8D2C #2C8D4B
monochromatic
#2A0F30 #521D5E #7B2C8D #A43BBC #BB65CF

Accessibility & contrast

On white

8.12
#7B2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2C8D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C8D#FFFFFF#000000##FFFFFF
##7B2C8D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A90
Deuteranopia (green-blind)
#33528B
Tritanopia (blue-blind)
#7B3D59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2c8d;
/* rgb */ color: rgb(123, 44, 141);
/* oklch */ color: oklch(45.1% 0.165 319.6);
Tailwind
colors: {
  custom: {
    50: '#a46caf',
    500: '#7b2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c8d;
$custom-light: #a46caf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c8d",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 288.866,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.16469,
    "h": 319.6
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#7B2C8D
secondary
#6FB560
accent
#DC4C67
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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