#7B2485#7B2485

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

Color values

HEX#7B2485
RGBrgb(123, 36, 133)
HSLhsl(294, 57%, 33%)
HSVhsv(294, 73%, 52%)
CMYKcmyk(7.5%, 72.9%, 0%, 47.8%)
CIE-LABlab(32.18, 50.14, -35.83)
CIE-LCHlch(32.18, 61.63, 324.45°)
OKLaboklab(43.72% 0.1346 -0.0999)
OKLCHoklch(43.72% 0.168 323.4)
XYZxyz(13.0325, 7.1669, 22.8827)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2485 #2E8524
analogous
#4A2485 #7B2485 #85245E
triadic
#7B2485 #857B24 #24857B
tetradic
#7B2485 #854A24 #2E8524 #245E85
square
#7B2485 #854A24 #2E8524 #245E85
split-complementary
#7B2485 #5E8524 #24854A
monochromatic
#220A25 #4E1755 #7B2485 #A831B5 #C353D0

Accessibility & contrast

On white

8.63
#7B2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2485
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2485#FFFFFF#000000##FFFFFF
##7B24851.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024588
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#7D3552
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2485;
/* rgb */ color: rgb(123, 36, 133);
/* oklch */ color: oklch(43.7% 0.168 323.4);
Tailwind
colors: {
  custom: {
    50: '#a468a9',
    500: '#7b2485',
    950: '#000000',
  },
}
SCSS
$custom: #7b2485;
$custom-light: #a468a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2485",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 293.814,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.16765,
    "h": 323.4
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#7B2485
secondary
#5BB450
accent
#E14757
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2485

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

Preview Lab → · Contrast checker → · Palette generator →

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