#7B2585#7B2585

#7B2585 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.166 H 323.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7B2585
RGBrgb(123, 37, 133)
HSLhsl(294, 56%, 33%)
HSVhsv(294, 72%, 52%)
CMYKcmyk(7.5%, 72.2%, 0%, 47.8%)
CIE-LABlab(32.32, 49.75, -35.61)
CIE-LCHlch(32.32, 61.18, 324.40°)
OKLaboklab(43.82% 0.1336 -0.0993)
OKLCHoklch(43.82% 0.166 323.4)
XYZxyz(13.0632, 7.2283, 22.8929)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2585 #2F8525
analogous
#4B2585 #7B2585 #85255F
triadic
#7B2585 #857B25 #25857B
tetradic
#7B2585 #854B25 #2F8525 #255F85
square
#7B2585 #854B25 #2F8525 #255F85
split-complementary
#7B2585 #5F8525 #25854B
monochromatic
#220A25 #4F1855 #7B2585 #A732B5 #C355D0

Accessibility & contrast

On white

8.59
#7B2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7B2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2585
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2585#FFFFFF#000000##FFFFFF
##7B25851.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054688
Deuteranopia (green-blind)
#354F83
Tritanopia (blue-blind)
#7D3652
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2585;
/* rgb */ color: rgb(123, 37, 133);
/* oklch */ color: oklch(43.8% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#a468a9',
    500: '#7b2585',
    950: '#000000',
  },
}
SCSS
$custom: #7b2585;
$custom-light: #a468a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2585",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 293.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43821,
    "c": 0.16643,
    "h": 323.4
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#7B2585
secondary
#5CB452
accent
#E04858
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2585

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

Preview Lab → · Contrast checker → · Palette generator →

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