#7B2185#7B2185

#7B2185 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.171 H 323.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7B2185
RGBrgb(123, 33, 133)
HSLhsl(294, 60%, 33%)
HSVhsv(294, 75%, 52%)
CMYKcmyk(7.5%, 75.2%, 0%, 47.8%)
CIE-LABlab(31.79, 51.26, -36.46)
CIE-LCHlch(31.79, 62.90, 324.58°)
OKLaboklab(43.44% 0.1377 -0.1017)
OKLCHoklch(43.44% 0.171 323.5)
XYZxyz(12.9455, 6.9929, 22.8537)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2185 #2B8521
analogous
#492185 #7B2185 #85215D
triadic
#7B2185 #857B21 #21857B
tetradic
#7B2185 #854921 #2B8521 #215D85
square
#7B2185 #854921 #2B8521 #215D85
split-complementary
#7B2185 #5D8521 #218549
monochromatic
#200923 #4E1554 #7B2185 #A82DB6 #C64DD3

Accessibility & contrast

On white

8.76
#7B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2185
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2185#FFFFFF#000000##FFFFFF
##7B21851.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#7D3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2185;
/* rgb */ color: rgb(123, 33, 133);
/* oklch */ color: oklch(43.4% 0.171 323.5);
Tailwind
colors: {
  custom: {
    50: '#a466a9',
    500: '#7b2185',
    950: '#000000',
  },
}
SCSS
$custom: #7b2185;
$custom-light: #a466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2185",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 294,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.17119,
    "h": 323.5
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#7B2185
secondary
#56B64C
accent
#E34454
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2185

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

Preview Lab → · Contrast checker → · Palette generator →

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