#7C339F#7C339F

#7C339F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.173 H 312.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7C339F
RGBrgb(124, 51, 159)
HSLhsl(281, 51%, 41%)
HSVhsv(281, 68%, 62%)
CMYKcmyk(22%, 67.9%, 0%, 37.6%)
CIE-LABlab(36.28, 49.29, -45.18)
CIE-LCHlch(36.28, 66.86, 317.49°)
OKLaboklab(47.23% 0.1177 -0.1273)
OKLCHoklch(47.23% 0.173 312.7)
XYZxyz(15.7529, 9.1564, 33.7317)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C339F #569F33
analogous
#46339F #7C339F #9F338C
triadic
#7C339F #9F7C33 #339F7C
tetradic
#7C339F #9F4633 #569F33 #338C9F
square
#7C339F #9F4633 #569F33 #338C9F
split-complementary
#7C339F #8C9F33 #339F46
monochromatic
#341542 #582471 #7C339F #9D4AC5 #B679D4

Accessibility & contrast

On white

7.42
#7C339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C339F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C339F#FFFFFF#000000##FFFFFF
##7C339F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#784965
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c339f;
/* rgb */ color: rgb(124, 51, 159);
/* oklch */ color: oklch(47.2% 0.173 312.7);
Tailwind
colors: {
  custom: {
    50: '#a570bc',
    500: '#7c339f',
    950: '#000000',
  },
}
SCSS
$custom: #7c339f;
$custom-light: #a570bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c339f",
  "rgb": {
    "r": 124,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 280.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.17341,
    "h": 312.7
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#7C339F
secondary
#8ABC71
accent
#DB4D7B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7C339F

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

Preview Lab → · Contrast checker → · Palette generator →

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