#7B2B83#7B2B83

#7B2B83 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.157 H 324.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7B2B83
RGBrgb(123, 43, 131)
HSLhsl(295, 51%, 34%)
HSVhsv(295, 67%, 51%)
CMYKcmyk(6.1%, 67.2%, 0%, 48.6%)
CIE-LABlab(33.09, 46.87, -33.15)
CIE-LCHlch(33.09, 57.41, 324.73°)
OKLaboklab(44.33% 0.1267 -0.0921)
OKLCHoklch(44.33% 0.157 324)
XYZxyz(13.1286, 7.5782, 22.2395)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B83 #33832B
analogous
#4F2B83 #7B2B83 #832B5F
triadic
#7B2B83 #837B2B #2B837B
tetradic
#7B2B83 #834F2B #33832B #2B5F83
square
#7B2B83 #834F2B #33832B #2B5F83
split-complementary
#7B2B83 #5F832B #2B834F
monochromatic
#240D27 #501C55 #7B2B83 #A63AB1 #C05ECA

Accessibility & contrast

On white

8.35
#7B2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7B2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B83
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B83#FFFFFF#000000##FFFFFF
##7B2B831.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184886
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#7D3953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2b83;
/* rgb */ color: rgb(123, 43, 131);
/* oklch */ color: oklch(44.3% 0.157 324.0);
Tailwind
colors: {
  custom: {
    50: '#a46ba7',
    500: '#7b2b83',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b83;
$custom-light: #a46ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b83",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 294.545,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.15669,
    "h": 324
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#7B2B83
secondary
#62B05A
accent
#DA4E5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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