#7D339C#7D339C

#7D339C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.171 H 314.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7D339C
RGBrgb(125, 51, 156)
HSLhsl(282, 51%, 41%)
HSVhsv(282, 67%, 61%)
CMYKcmyk(19.9%, 67.3%, 0%, 38.8%)
CIE-LABlab(36.23, 48.87, -43.45)
CIE-LCHlch(36.23, 65.39, 318.36°)
OKLaboklab(47.16% 0.1192 -0.1222)
OKLCHoklch(47.16% 0.171 314.3)
XYZxyz(15.6410, 9.1284, 32.3841)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D339C #529C33
analogous
#48339C #7D339C #9C3386
triadic
#7D339C #9C7D33 #339C7D
tetradic
#7D339C #9C4833 #529C33 #33869C
square
#7D339C #9C4833 #529C33 #33869C
split-complementary
#7D339C #869C33 #339C48
monochromatic
#331540 #58246E #7D339C #9F49C3 #B777D3

Accessibility & contrast

On white

7.43
#7D339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7D339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D339C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D339C#FFFFFF#000000##FFFFFF
##7D339C1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#2F579A
Tritanopia (blue-blind)
#7A4763
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d339c;
/* rgb */ color: rgb(125, 51, 156);
/* oklch */ color: oklch(47.2% 0.171 314.3);
Tailwind
colors: {
  custom: {
    50: '#a670ba',
    500: '#7d339c',
    950: '#000000',
  },
}
SCSS
$custom: #7d339c;
$custom-light: #a670ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d339c",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 282.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47155,
    "c": 0.17073,
    "h": 314.3
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#7D339C
secondary
#86BB70
accent
#DA4E77
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D339C

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

Preview Lab → · Contrast checker → · Palette generator →

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