#7B2087#7B2087

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

Color values

HEX#7B2087
RGBrgb(123, 32, 135)
HSLhsl(293, 62%, 33%)
HSVhsv(293, 76%, 53%)
CMYKcmyk(8.9%, 76.3%, 0%, 47.1%)
CIE-LABlab(31.79, 51.99, -37.70)
CIE-LCHlch(31.79, 64.22, 324.05°)
OKLaboklab(43.48% 0.1385 -0.1053)
OKLCHoklch(43.48% 0.174 322.8)
XYZxyz(13.0576, 6.9940, 23.5792)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2087 #2C8720
analogous
#482087 #7B2087 #87205F
triadic
#7B2087 #877B20 #20877B
tetradic
#7B2087 #874820 #2C8720 #205F87
square
#7B2087 #874820 #2C8720 #205F87
split-complementary
#7B2087 #5F8720 #208748
monochromatic
#210924 #4E1456 #7B2087 #A82CB8 #C54DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2087#FFFFFF#000000##FFFFFF
##7B20871.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)
#00448A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#7D3352
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2087;
/* rgb */ color: rgb(123, 32, 135);
/* oklch */ color: oklch(43.5% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#a566aa',
    500: '#7b2087',
    950: '#000000',
  },
}
SCSS
$custom: #7b2087;
$custom-light: #a566aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2087",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 293.01,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.17403,
    "h": 322.8
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#7B2087
secondary
#58B84B
accent
#E54356
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2087

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

Preview Lab → · Contrast checker → · Palette generator →

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