#7B2785#7B2785

#7B2785 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.164 H 323.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7B2785
RGBrgb(123, 39, 133)
HSLhsl(294, 55%, 34%)
HSVhsv(294, 71%, 52%)
CMYKcmyk(7.5%, 70.7%, 0%, 47.8%)
CIE-LABlab(32.60, 48.95, -35.16)
CIE-LCHlch(32.60, 60.27, 324.31°)
OKLaboklab(44.02% 0.1314 -0.098)
OKLCHoklch(44.02% 0.164 323.3)
XYZxyz(13.1271, 7.3562, 22.9142)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2785 #318527
analogous
#4C2785 #7B2785 #852760
triadic
#7B2785 #857B27 #27857B
tetradic
#7B2785 #854C27 #318527 #276085
square
#7B2785 #854C27 #318527 #276085
split-complementary
#7B2785 #608527 #27854C
monochromatic
#230B26 #4F1956 #7B2785 #A735B4 #C258CE

Accessibility & contrast

On white

8.50
#7B2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B2785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2785
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2785#FFFFFF#000000##FFFFFF
##7B27851.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#7D3753
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2785;
/* rgb */ color: rgb(123, 39, 133);
/* oklch */ color: oklch(44.0% 0.164 323.3);
Tailwind
colors: {
  custom: {
    50: '#a469a9',
    500: '#7b2785',
    950: '#000000',
  },
}
SCSS
$custom: #7b2785;
$custom-light: #a469a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2785",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 293.617,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.16389,
    "h": 323.3
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#7B2785
secondary
#5FB355
accent
#DE4A5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2785

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

Preview Lab → · Contrast checker → · Palette generator →

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