#7B2085#7B2085

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

Color values

HEX#7B2085
RGBrgb(123, 32, 133)
HSLhsl(294, 61%, 32%)
HSVhsv(294, 76%, 52%)
CMYKcmyk(7.5%, 75.9%, 0%, 47.8%)
CIE-LABlab(31.67, 51.62, -36.66)
CIE-LCHlch(31.67, 63.31, 324.62°)
OKLaboklab(43.35% 0.1387 -0.1023)
OKLCHoklch(43.35% 0.172 323.6)
XYZxyz(12.9181, 6.9382, 22.8445)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2085 #2A8520
analogous
#482085 #7B2085 #85205D
triadic
#7B2085 #857B20 #20857B
tetradic
#7B2085 #854820 #2A8520 #205D85
square
#7B2085 #854820 #2A8520 #205D85
split-complementary
#7B2085 #5D8520 #208548
monochromatic
#200822 #4D1454 #7B2085 #A92CB6 #C64CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2085#FFFFFF#000000##FFFFFF
##7B20851.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)
#004488
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#7D3351
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b2085;
/* rgb */ color: rgb(123, 32, 133);
/* oklch */ color: oklch(43.4% 0.172 323.6);
Tailwind
colors: {
  custom: {
    50: '#a566a9',
    500: '#7b2085',
    950: '#000000',
  },
}
SCSS
$custom: #7b2085;
$custom-light: #a566a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2085",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 294.059,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.17232,
    "h": 323.6
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#7B2085
secondary
#55B74A
accent
#E44353
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2085

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

Preview Lab → · Contrast checker → · Palette generator →

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