#7B2F89#7B2F89

#7B2F89 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.2% C 0.157 H 321.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7B2F89
RGBrgb(123, 47, 137)
HSLhsl(291, 49%, 36%)
HSVhsv(291, 66%, 54%)
CMYKcmyk(10.2%, 65.7%, 0%, 46.3%)
CIE-LABlab(34.09, 46.26, -35.28)
CIE-LCHlch(34.09, 58.17, 322.67°)
OKLaboklab(45.17% 0.1219 -0.0984)
OKLCHoklch(45.17% 0.157 321.1)
XYZxyz(13.6997, 8.0508, 24.4944)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F89 #3D892F
analogous
#4E2F89 #7B2F89 #892F6A
triadic
#7B2F89 #897B2F #2F897B
tetradic
#7B2F89 #894E2F #3D892F #2F6A89
square
#7B2F89 #894E2F #3D892F #2F6A89
split-complementary
#7B2F89 #6A892F #2F894E
monochromatic
#29102E #521F5B #7B2F89 #A43FB7 #BC67CB

Accessibility & contrast

On white

8.05
#7B2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F89
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F89#FFFFFF#000000##FFFFFF
##7B2F891.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8C
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#7C3E58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2f89;
/* rgb */ color: rgb(123, 47, 137);
/* oklch */ color: oklch(45.2% 0.157 321.1);
Tailwind
colors: {
  custom: {
    50: '#a46dac',
    500: '#7b2f89',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f89;
$custom-light: #a46dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f89",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 290.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.15666,
    "h": 321.1
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#7B2F89
secondary
#6EB262
accent
#D84F65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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