#7B247D#7B247D

#7B247D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.161 H 327.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7B247D
RGBrgb(123, 36, 125)
HSLhsl(299, 55%, 32%)
HSVhsv(299, 71%, 49%)
CMYKcmyk(1.6%, 71.2%, 0%, 51%)
CIE-LABlab(31.70, 48.66, -31.60)
CIE-LCHlch(31.70, 58.02, 327.00°)
OKLaboklab(43.22% 0.1347 -0.0876)
OKLCHoklch(43.22% 0.161 327)
XYZxyz(12.5007, 6.9542, 20.0819)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B247D #267D24
analogous
#4F247D #7B247D #7D2453
triadic
#7B247D #7D7B24 #247D7B
tetradic
#7B247D #7D4F24 #267D24 #24537D
square
#7B247D #7D4F24 #267D24 #24537D
split-complementary
#7B247D #537D24 #247D4F
monochromatic
#1D091E #4C164D #7B247D #AA32AD #CA4FCC

Accessibility & contrast

On white

8.78
#7B247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7B247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B247D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B247D#FFFFFF#000000##FFFFFF
##7B247D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134380
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#7F314E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b247d;
/* rgb */ color: rgb(123, 36, 125);
/* oklch */ color: oklch(43.2% 0.161 327.0);
Tailwind
colors: {
  custom: {
    50: '#a467a3',
    500: '#7b247d',
    950: '#000000',
  },
}
SCSS
$custom: #7b247d;
$custom-light: #a467a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b247d",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 298.652,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43222,
    "c": 0.16069,
    "h": 327
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#7B247D
secondary
#50AF4D
accent
#DF494D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B247D

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

Preview Lab → · Contrast checker → · Palette generator →

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