#7B2689#7B2689

#7B2689 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.169 H 321.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7B2689
RGBrgb(123, 38, 137)
HSLhsl(292, 57%, 34%)
HSVhsv(292, 72%, 54%)
CMYKcmyk(10.2%, 72.3%, 0%, 46.3%)
CIE-LABlab(32.71, 50.12, -37.48)
CIE-LCHlch(32.71, 62.58, 323.22°)
OKLaboklab(44.18% 0.1323 -0.1047)
OKLCHoklch(44.18% 0.169 321.6)
XYZxyz(13.3764, 7.4040, 24.3866)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2689 #348926
analogous
#4A2689 #7B2689 #892666
triadic
#7B2689 #897B26 #26897B
tetradic
#7B2689 #894A26 #348926 #266689
square
#7B2689 #894A26 #348926 #266689
split-complementary
#7B2689 #668926 #26894A
monochromatic
#250B29 #501959 #7B2689 #A633B9 #C059D1

Accessibility & contrast

On white

8.47
#7B2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7B2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2689
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2689#FFFFFF#000000##FFFFFF
##7B26891.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#7C3855
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2689;
/* rgb */ color: rgb(123, 38, 137);
/* oklch */ color: oklch(44.2% 0.169 321.6);
Tailwind
colors: {
  custom: {
    50: '#a469ac',
    500: '#7b2689',
    950: '#000000',
  },
}
SCSS
$custom: #7b2689;
$custom-light: #a469ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2689",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 291.515,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.16876,
    "h": 321.6
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#7B2689
secondary
#63B655
accent
#E0485D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2689

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

Preview Lab → · Contrast checker → · Palette generator →

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