#7B247E#7B247E

#7B247E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.162 H 326.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7B247E
RGBrgb(123, 36, 126)
HSLhsl(298, 56%, 32%)
HSVhsv(298, 71%, 49%)
CMYKcmyk(2.4%, 71.4%, 0%, 50.6%)
CIE-LABlab(31.76, 48.84, -32.13)
CIE-LCHlch(31.76, 58.46, 326.66°)
OKLaboklab(43.28% 0.1347 -0.0891)
OKLCHoklch(43.28% 0.162 326.5)
XYZxyz(12.5649, 6.9799, 20.4201)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B247E #277E24
analogous
#4E247E #7B247E #7E2454
triadic
#7B247E #7E7B24 #247E7B
tetradic
#7B247E #7E4E24 #277E24 #24547E
square
#7B247E #7E4E24 #277E24 #24547E
split-complementary
#7B247E #547E24 #247E4E
monochromatic
#1E091F #4D164E #7B247E #A932AE #C950CD

Accessibility & contrast

On white

8.77
#7B247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B247E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B247E#FFFFFF#000000##FFFFFF
##7B247E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#7E324E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b247e;
/* rgb */ color: rgb(123, 36, 126);
/* oklch */ color: oklch(43.3% 0.162 326.5);
Tailwind
colors: {
  custom: {
    50: '#a467a4',
    500: '#7b247e',
    950: '#000000',
  },
}
SCSS
$custom: #7b247e;
$custom-light: #a467a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b247e",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 298,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.16154,
    "h": 326.5
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#7B247E
secondary
#51B04E
accent
#DF494E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B247E

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

Preview Lab → · Contrast checker → · Palette generator →

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