#7B2099#7B2099

#7B2099 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.190 H 315.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7B2099
RGBrgb(123, 32, 153)
HSLhsl(285, 65%, 36%)
HSVhsv(285, 79%, 60%)
CMYKcmyk(19.6%, 79.1%, 0%, 40%)
CIE-LABlab(33.02, 55.48, -46.82)
CIE-LCHlch(33.02, 72.60, 319.84°)
OKLaboklab(44.74% 0.1364 -0.132)
OKLCHoklch(44.74% 0.19 315.9)
XYZxyz(14.4338, 7.5445, 30.8267)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2099 #3E9920
analogous
#3F2099 #7B2099 #99207B
triadic
#7B2099 #997B20 #20997B
tetradic
#7B2099 #993F20 #3E9920 #207B99
square
#7B2099 #993F20 #3E9920 #207B99
split-complementary
#7B2099 #7B9920 #20993F
monochromatic
#2A0B34 #521566 #7B2099 #A42BCC #BB57DC

Accessibility & contrast

On white

8.37
#7B2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7B2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2099
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2099#FFFFFF#000000##FFFFFF
##7B20991.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#793C5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2099;
/* rgb */ color: rgb(123, 32, 153);
/* oklch */ color: oklch(44.7% 0.190 315.9);
Tailwind
colors: {
  custom: {
    50: '#a567b8',
    500: '#7b2099',
    950: '#000000',
  },
}
SCSS
$custom: #7b2099;
$custom-light: #a567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2099",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 285.124,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.18982,
    "h": 315.9
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#7B2099
secondary
#6FC055
accent
#E83F69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2099

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

Preview Lab → · Contrast checker → · Palette generator →

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