#7B2889#7B2889

#7B2889 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.166 H 321.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7B2889
RGBrgb(123, 40, 137)
HSLhsl(291, 55%, 35%)
HSVhsv(291, 71%, 54%)
CMYKcmyk(10.2%, 70.8%, 0%, 46.3%)
CIE-LABlab(33.00, 49.31, -37.02)
CIE-LCHlch(33.00, 61.66, 323.10°)
OKLaboklab(44.38% 0.1302 -0.1034)
OKLCHoklch(44.38% 0.166 321.5)
XYZxyz(13.4420, 7.5354, 24.4085)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2889 #368928
analogous
#4A2889 #7B2889 #892867
triadic
#7B2889 #897B28 #28897B
tetradic
#7B2889 #894A28 #368928 #286789
square
#7B2889 #894A28 #368928 #286789
split-complementary
#7B2889 #678928 #28894A
monochromatic
#260C2A #501A5A #7B2889 #A636B8 #BF5CCF

Accessibility & contrast

On white

8.38
#7B2889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7B2889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2889
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2889#FFFFFF#000000##FFFFFF
##7B28891.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#7C3955
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2889;
/* rgb */ color: rgb(123, 40, 137);
/* oklch */ color: oklch(44.4% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#a46aac',
    500: '#7b2889',
    950: '#000000',
  },
}
SCSS
$custom: #7b2889;
$custom-light: #a46aac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2889",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 291.34,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.16623,
    "h": 321.5
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#7B2889
secondary
#65B558
accent
#DE4A5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2889

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

Preview Lab → · Contrast checker → · Palette generator →

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