#7B2D8F#7B2D8F

#7B2D8F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.165 H 318.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7B2D8F
RGBrgb(123, 45, 143)
HSLhsl(288, 52%, 37%)
HSVhsv(288, 69%, 56%)
CMYKcmyk(14%, 68.5%, 0%, 43.9%)
CIE-LABlab(34.13, 48.38, -38.90)
CIE-LCHlch(34.13, 62.08, 321.19°)
OKLaboklab(45.32% 0.1243 -0.1089)
OKLCHoklch(45.32% 0.165 318.8)
XYZxyz(14.0640, 8.0715, 26.7984)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D8F #418F2D
analogous
#4A2D8F #7B2D8F #8F2D72
triadic
#7B2D8F #8F7B2D #2D8F7B
tetradic
#7B2D8F #8F4A2D #418F2D #2D728F
square
#7B2D8F #8F4A2D #418F2D #2D728F
split-complementary
#7B2D8F #728F2D #2D8F4A
monochromatic
#2B1032 #531E60 #7B2D8F #A33CBE #BA67CF

Accessibility & contrast

On white

8.03
#7B2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2D8F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D8F#FFFFFF#000000##FFFFFF
##7B2D8F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B92
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#7B3F5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2d8f;
/* rgb */ color: rgb(123, 45, 143);
/* oklch */ color: oklch(45.3% 0.165 318.8);
Tailwind
colors: {
  custom: {
    50: '#a46cb0',
    500: '#7b2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d8f;
$custom-light: #a46cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d8f",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 287.755,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.16525,
    "h": 318.8
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#7B2D8F
secondary
#73B662
accent
#DC4C69
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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