#7B2B92#7B2B92

#7B2B92 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 317.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7B2B92
RGBrgb(123, 43, 146)
HSLhsl(287, 54%, 37%)
HSVhsv(287, 71%, 57%)
CMYKcmyk(15.8%, 70.5%, 0%, 42.7%)
CIE-LABlab(34.01, 49.86, -40.93)
CIE-LCHlch(34.01, 64.51, 320.61°)
OKLaboklab(45.3% 0.1264 -0.1149)
OKLCHoklch(45.3% 0.171 317.7)
XYZxyz(14.2198, 8.0146, 27.9865)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B92 #42922B
analogous
#482B92 #7B2B92 #922B76
triadic
#7B2B92 #927B2B #2B927B
tetradic
#7B2B92 #92482B #42922B #2B7692
square
#7B2B92 #92482B #42922B #2B7692
split-complementary
#7B2B92 #76922B #2B9248
monochromatic
#2B0F33 #531D63 #7B2B92 #A339C1 #BA66D2

Accessibility & contrast

On white

8.07
#7B2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7B2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B92
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B92#FFFFFF#000000##FFFFFF
##7B2B921.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#2F5290
Tritanopia (blue-blind)
#7A3F5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2b92;
/* rgb */ color: rgb(123, 43, 146);
/* oklch */ color: oklch(45.3% 0.171 317.7);
Tailwind
colors: {
  custom: {
    50: '#a46cb2',
    500: '#7b2b92',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b92;
$custom-light: #a46cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b92",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 286.602,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.17078,
    "h": 317.7
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#7B2B92
secondary
#74B861
accent
#DE4A6B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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