#7D339A#7D339A

#7D339A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.0% C 0.169 H 315.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7D339A
RGBrgb(125, 51, 154)
HSLhsl(283, 50%, 40%)
HSVhsv(283, 67%, 60%)
CMYKcmyk(18.8%, 66.9%, 0%, 39.6%)
CIE-LABlab(36.10, 48.44, -42.44)
CIE-LCHlch(36.10, 64.40, 318.77°)
OKLaboklab(47.02% 0.1193 -0.1193)
OKLCHoklch(47.02% 0.169 315)
XYZxyz(15.4731, 9.0612, 31.4995)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D339A #509A33
analogous
#4A339A #7D339A #9A3383
triadic
#7D339A #9A7D33 #339A7D
tetradic
#7D339A #9A4A33 #509A33 #33839A
square
#7D339A #9A4A33 #509A33 #33839A
split-complementary
#7D339A #839A33 #339A4A
monochromatic
#32153E #58246C #7D339A #A048C2 #B876D2

Accessibility & contrast

On white

7.47
#7D339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D339A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D339A#FFFFFF#000000##FFFFFF
##7D339A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#7B4762
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d339a;
/* rgb */ color: rgb(125, 51, 154);
/* oklch */ color: oklch(47.0% 0.169 315.0);
Tailwind
colors: {
  custom: {
    50: '#a670b8',
    500: '#7d339a',
    950: '#000000',
  },
}
SCSS
$custom: #7d339a;
$custom-light: #a670b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d339a",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 283.107,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.16871,
    "h": 315
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#7D339A
secondary
#84BA6F
accent
#DA4E75
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D339A

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

Preview Lab → · Contrast checker → · Palette generator →

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