#7B2B99#7B2B99

#7B2B99 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.177 H 315.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7B2B99
RGBrgb(123, 43, 153)
HSLhsl(284, 56%, 38%)
HSVhsv(284, 72%, 60%)
CMYKcmyk(19.6%, 71.9%, 0%, 40%)
CIE-LABlab(34.48, 51.31, -44.46)
CIE-LCHlch(34.48, 67.90, 319.09°)
OKLaboklab(45.77% 0.1258 -0.1252)
OKLCHoklch(45.77% 0.177 315.1)
XYZxyz(14.7811, 8.2391, 30.9425)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B99 #49992B
analogous
#442B99 #7B2B99 #992B80
triadic
#7B2B99 #997B2B #2B997B
tetradic
#7B2B99 #99442B #49992B #2B8099
square
#7B2B99 #99442B #49992B #2B8099
split-complementary
#7B2B99 #80992B #2B9944
monochromatic
#2E1039 #551E69 #7B2B99 #A13AC8 #B869D5

Accessibility & contrast

On white

7.93
#7B2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B2B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B99
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B99#FFFFFF#000000##FFFFFF
##7B2B991.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#285397
Tritanopia (blue-blind)
#79425F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b2b99;
/* rgb */ color: rgb(123, 43, 153);
/* oklch */ color: oklch(45.8% 0.177 315.1);
Tailwind
colors: {
  custom: {
    50: '#a56cb8',
    500: '#7b2b99',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b99;
$custom-light: #a56cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b99",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 283.636,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.17749,
    "h": 315.1
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#7B2B99
secondary
#7CBC64
accent
#DF4872
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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