#7B2489#7B2489

#7B2489 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.171 H 321.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7B2489
RGBrgb(123, 36, 137)
HSLhsl(292, 58%, 34%)
HSVhsv(292, 74%, 54%)
CMYKcmyk(10.2%, 73.7%, 0%, 46.3%)
CIE-LABlab(32.44, 50.90, -37.91)
CIE-LCHlch(32.44, 63.47, 323.32°)
OKLaboklab(43.98% 0.1344 -0.106)
OKLCHoklch(43.98% 0.171 321.7)
XYZxyz(13.3141, 7.2796, 24.3659)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2489 #328924
analogous
#492489 #7B2489 #892465
triadic
#7B2489 #897B24 #24897B
tetradic
#7B2489 #894924 #328924 #246589
square
#7B2489 #894924 #328924 #246589
split-complementary
#7B2489 #658924 #248949
monochromatic
#240B28 #4F1759 #7B2489 #A731B9 #C155D2

Accessibility & contrast

On white

8.55
#7B2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7B2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2489
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2489#FFFFFF#000000##FFFFFF
##7B24891.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#315087
Tritanopia (blue-blind)
#7C3754
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2489;
/* rgb */ color: rgb(123, 36, 137);
/* oklch */ color: oklch(44.0% 0.171 321.7);
Tailwind
colors: {
  custom: {
    50: '#a468ac',
    500: '#7b2489',
    950: '#000000',
  },
}
SCSS
$custom: #7b2489;
$custom-light: #a468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2489",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 291.683,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43983,
    "c": 0.1712,
    "h": 321.7
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#7B2489
secondary
#60B752
accent
#E2465C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2489

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

Preview Lab → · Contrast checker → · Palette generator →

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