#7B2B95#7B2B95

#7B2B95 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.174 H 316.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7B2B95
RGBrgb(123, 43, 149)
HSLhsl(285, 55%, 38%)
HSVhsv(285, 71%, 58%)
CMYKcmyk(17.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(34.21, 50.48, -42.45)
CIE-LCHlch(34.21, 65.96, 319.93°)
OKLaboklab(45.5% 0.1262 -0.1193)
OKLCHoklch(45.5% 0.174 316.6)
XYZxyz(14.4563, 8.1092, 29.2317)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B95 #45952B
analogous
#462B95 #7B2B95 #952B7A
triadic
#7B2B95 #957B2B #2B957B
tetradic
#7B2B95 #95462B #45952B #2B7A95
square
#7B2B95 #95462B #45952B #2B7A95
split-complementary
#7B2B95 #7A952B #2B9546
monochromatic
#2D1036 #541D66 #7B2B95 #A239C4 #B967D3

Accessibility & contrast

On white

8.01
#7B2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7B2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B95
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B95#FFFFFF#000000##FFFFFF
##7B2B951.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#7A405D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2b95;
/* rgb */ color: rgb(123, 43, 149);
/* oklch */ color: oklch(45.5% 0.174 316.6);
Tailwind
colors: {
  custom: {
    50: '#a56cb5',
    500: '#7b2b95',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b95;
$custom-light: #a56cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b95",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 285.283,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.17365,
    "h": 316.6
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#7B2B95
secondary
#78BA62
accent
#DF496E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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