#7B2280#7B2280

#7B2280 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.166 H 325.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7B2280
RGBrgb(123, 34, 128)
HSLhsl(297, 58%, 32%)
HSVhsv(297, 73%, 50%)
CMYKcmyk(3.9%, 73.4%, 0%, 49.8%)
CIE-LABlab(31.61, 49.97, -33.62)
CIE-LCHlch(31.61, 60.23, 326.06°)
OKLaboklab(43.21% 0.1369 -0.0935)
OKLCHoklch(43.21% 0.166 325.7)
XYZxyz(12.6364, 6.9143, 21.0869)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2280 #278022
analogous
#4C2280 #7B2280 #802256
triadic
#7B2280 #807B22 #22807B
tetradic
#7B2280 #804C22 #278022 #225680
square
#7B2280 #804C22 #278022 #225680
split-complementary
#7B2280 #568022 #22804C
monochromatic
#1E081F #4D1550 #7B2280 #A92FB0 #C94DD0

Accessibility & contrast

On white

8.81
#7B2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2280
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2280#FFFFFF#000000##FFFFFF
##7B22801.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094383
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#7E314F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2280;
/* rgb */ color: rgb(123, 34, 128);
/* oklch */ color: oklch(43.2% 0.166 325.7);
Tailwind
colors: {
  custom: {
    50: '#a467a5',
    500: '#7b2280',
    950: '#000000',
  },
}
SCSS
$custom: #7b2280;
$custom-light: #a467a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2280",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 296.809,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.16572,
    "h": 325.7
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#7B2280
secondary
#51B24B
accent
#E1474F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2280

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

Preview Lab → · Contrast checker → · Palette generator →

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