#7B2088#7B2088

#7B2088 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.175 H 322.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7B2088
RGBrgb(123, 32, 136)
HSLhsl(293, 62%, 33%)
HSVhsv(293, 76%, 53%)
CMYKcmyk(9.6%, 76.5%, 0%, 46.7%)
CIE-LABlab(31.86, 52.18, -38.22)
CIE-LCHlch(31.86, 64.68, 323.78°)
OKLaboklab(43.55% 0.1385 -0.1068)
OKLCHoklch(43.55% 0.175 322.3)
XYZxyz(13.1284, 7.0223, 23.9517)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2088 #2D8820
analogous
#472088 #7B2088 #882061
triadic
#7B2088 #887B20 #20887B
tetradic
#7B2088 #884720 #2D8820 #206188
square
#7B2088 #884720 #2D8820 #206188
split-complementary
#7B2088 #618820 #208847
monochromatic
#210925 #4E1456 #7B2088 #A82CBA #C44DD5

Accessibility & contrast

On white

8.73
#7B2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2088
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2088#FFFFFF#000000##FFFFFF
##7B20881.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#304E86
Tritanopia (blue-blind)
#7D3453
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2088;
/* rgb */ color: rgb(123, 32, 136);
/* oklch */ color: oklch(43.6% 0.175 322.3);
Tailwind
colors: {
  custom: {
    50: '#a566ab',
    500: '#7b2088',
    950: '#000000',
  },
}
SCSS
$custom: #7b2088;
$custom-light: #a566ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2088",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 292.5,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43551,
    "c": 0.17489,
    "h": 322.3
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#7B2088
secondary
#59B84C
accent
#E54357
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2088

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

Preview Lab → · Contrast checker → · Palette generator →

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