#7B2C83#7B2C83

#7B2C83 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.155 H 323.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7B2C83
RGBrgb(123, 44, 131)
HSLhsl(294, 50%, 34%)
HSVhsv(294, 66%, 51%)
CMYKcmyk(6.1%, 66.4%, 0%, 48.6%)
CIE-LABlab(33.25, 46.43, -32.90)
CIE-LCHlch(33.25, 56.90, 324.68°)
OKLaboklab(44.45% 0.1255 -0.0914)
OKLCHoklch(44.45% 0.155 323.9)
XYZxyz(13.1654, 7.6518, 22.2518)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C83 #34832C
analogous
#502C83 #7B2C83 #832C60
triadic
#7B2C83 #837B2C #2C837B
tetradic
#7B2C83 #83502C #34832C #2C6083
square
#7B2C83 #83502C #34832C #2C6083
split-complementary
#7B2C83 #60832C #2C8350
monochromatic
#250D27 #501D55 #7B2C83 #A63BB1 #C060CA

Accessibility & contrast

On white

8.30
#7B2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7B2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C83
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C83#FFFFFF#000000##FFFFFF
##7B2C831.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4886
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#7D3953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2c83;
/* rgb */ color: rgb(123, 44, 131);
/* oklch */ color: oklch(44.4% 0.155 323.9);
Tailwind
colors: {
  custom: {
    50: '#a46ba7',
    500: '#7b2c83',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c83;
$custom-light: #a46ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c83",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 294.483,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.15528,
    "h": 323.9
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#7B2C83
secondary
#63B05B
accent
#D94F5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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