#7D339F#7D339F

#7D339F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.174 H 313.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7D339F
RGBrgb(125, 51, 159)
HSLhsl(281, 51%, 41%)
HSVhsv(281, 68%, 62%)
CMYKcmyk(21.4%, 67.9%, 0%, 37.6%)
CIE-LABlab(36.43, 49.52, -44.95)
CIE-LCHlch(36.43, 66.88, 317.77°)
OKLaboklab(47.36% 0.119 -0.1266)
OKLCHoklch(47.36% 0.174 313.2)
XYZxyz(15.8982, 9.2313, 33.7385)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D339F #559F33
analogous
#47339F #7D339F #9F338B
triadic
#7D339F #9F7D33 #339F7D
tetradic
#7D339F #9F4733 #559F33 #338B9F
square
#7D339F #9F4733 #559F33 #338B9F
split-complementary
#7D339F #8B9F33 #339F47
monochromatic
#341542 #592471 #7D339F #9E4AC5 #B779D4

Accessibility & contrast

On white

7.38
#7D339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7D339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D339F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D339F#FFFFFF#000000##FFFFFF
##7D339F1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#2C579D
Tritanopia (blue-blind)
#7A4965
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d339f;
/* rgb */ color: rgb(125, 51, 159);
/* oklch */ color: oklch(47.4% 0.174 313.2);
Tailwind
colors: {
  custom: {
    50: '#a670bc',
    500: '#7d339f',
    950: '#000000',
  },
}
SCSS
$custom: #7d339f;
$custom-light: #a670bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d339f",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 281.111,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.17377,
    "h": 313.2
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#7D339F
secondary
#89BC71
accent
#DB4D7A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D339F

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

Preview Lab → · Contrast checker → · Palette generator →

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