#7B2183#7B2183

#7B2183 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.169 H 324.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7B2183
RGBrgb(123, 33, 131)
HSLhsl(295, 60%, 32%)
HSVhsv(295, 75%, 51%)
CMYKcmyk(6.1%, 74.8%, 0%, 48.6%)
CIE-LABlab(31.67, 50.89, -35.41)
CIE-LCHlch(31.67, 62.00, 325.17°)
OKLaboklab(43.31% 0.1378 -0.0987)
OKLCHoklch(43.31% 0.169 324.4)
XYZxyz(12.8086, 6.9382, 22.1329)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2183 #298321
analogous
#4A2183 #7B2183 #83215A
triadic
#7B2183 #837B21 #21837B
tetradic
#7B2183 #834A21 #298321 #215A83
square
#7B2183 #834A21 #298321 #215A83
split-complementary
#7B2183 #5A8321 #21834A
monochromatic
#1F0821 #4D1552 #7B2183 #A92DB4 #C74CD2

Accessibility & contrast

On white

8.80
#7B2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7B2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2183
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2183#FFFFFF#000000##FFFFFF
##7B21831.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#7E3250
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2183;
/* rgb */ color: rgb(123, 33, 131);
/* oklch */ color: oklch(43.3% 0.169 324.4);
Tailwind
colors: {
  custom: {
    50: '#a466a7',
    500: '#7b2183',
    950: '#000000',
  },
}
SCSS
$custom: #7b2183;
$custom-light: #a466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2183",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 295.102,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.16946,
    "h": 324.4
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#7B2183
secondary
#53B54B
accent
#E34552
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2183

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

Preview Lab → · Contrast checker → · Palette generator →

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