#7B2E89#7B2E89

#7B2E89 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 321.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7B2E89
RGBrgb(123, 46, 137)
HSLhsl(291, 50%, 36%)
HSVhsv(291, 66%, 54%)
CMYKcmyk(10.2%, 66.4%, 0%, 46.3%)
CIE-LABlab(33.92, 46.71, -35.54)
CIE-LCHlch(33.92, 58.70, 322.74°)
OKLaboklab(45.05% 0.1232 -0.0991)
OKLCHoklch(45.05% 0.158 321.2)
XYZxyz(13.6602, 7.9718, 24.4812)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E89 #3C892E
analogous
#4D2E89 #7B2E89 #892E69
triadic
#7B2E89 #897B2E #2E897B
tetradic
#7B2E89 #894D2E #3C892E #2E6989
square
#7B2E89 #894D2E #3C892E #2E6989
split-complementary
#7B2E89 #69892E #2E894D
monochromatic
#290F2D #521F5B #7B2E89 #A43DB7 #BC66CC

Accessibility & contrast

On white

8.09
#7B2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E89
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E89#FFFFFF#000000##FFFFFF
##7B2E891.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#7C3D57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b2e89;
/* rgb */ color: rgb(123, 46, 137);
/* oklch */ color: oklch(45.1% 0.158 321.2);
Tailwind
colors: {
  custom: {
    50: '#a46dac',
    500: '#7b2e89',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e89;
$custom-light: #a46dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e89",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 290.769,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.1581,
    "h": 321.2
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#7B2E89
secondary
#6DB260
accent
#D94F64
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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