#7B2296#7B2296

#7B2296 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.185 H 316.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7B2296
RGBrgb(123, 34, 150)
HSLhsl(286, 63%, 36%)
HSVhsv(286, 77%, 59%)
CMYKcmyk(18%, 77.3%, 0%, 41.2%)
CIE-LABlab(33.04, 54.19, -44.94)
CIE-LCHlch(33.04, 70.40, 320.33°)
OKLaboklab(44.69% 0.1351 -0.1265)
OKLCHoklch(44.69% 0.185 316.9)
XYZxyz(14.2446, 7.5576, 29.5567)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2296 #3D9622
analogous
#412296 #7B2296 #962277
triadic
#7B2296 #967B22 #22967B
tetradic
#7B2296 #964122 #3D9622 #227796
square
#7B2296 #964122 #3D9622 #227796
split-complementary
#7B2296 #779622 #229641
monochromatic
#290B32 #521764 #7B2296 #A42DC8 #BC59D9

Accessibility & contrast

On white

8.36
#7B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7B2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2296
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2296#FFFFFF#000000##FFFFFF
##7B22961.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#7A3B5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2296;
/* rgb */ color: rgb(123, 34, 150);
/* oklch */ color: oklch(44.7% 0.185 316.9);
Tailwind
colors: {
  custom: {
    50: '#a568b5',
    500: '#7b2296',
    950: '#000000',
  },
}
SCSS
$custom: #7b2296;
$custom-light: #a568b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2296",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 286.034,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.18509,
    "h": 316.9
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#7B2296
secondary
#6EBE56
accent
#E64268
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2296

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

Preview Lab → · Contrast checker → · Palette generator →

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