#7C3299#7C3299

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

Color values

HEX#7C3299
RGBrgb(124, 50, 153)
HSLhsl(283, 51%, 40%)
HSVhsv(283, 67%, 60%)
CMYKcmyk(19%, 67.3%, 0%, 40%)
CIE-LABlab(35.73, 48.45, -42.45)
CIE-LCHlch(35.73, 64.41, 318.78°)
OKLaboklab(46.7% 0.1192 -0.1193)
OKLCHoklch(46.7% 0.169 315)
XYZxyz(15.2016, 8.8667, 31.0415)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3299 #4F9932
analogous
#493299 #7C3299 #993282
triadic
#7C3299 #997C32 #32997C
tetradic
#7C3299 #994932 #4F9932 #328299
square
#7C3299 #994932 #4F9932 #328299
split-complementary
#7C3299 #829932 #329949
monochromatic
#31143D #57236B #7C3299 #9F46C2 #B774D2

Accessibility & contrast

On white

7.57
#7C3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7C3299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C3299
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3299#FFFFFF#000000##FFFFFF
##7C32991.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#2F5697
Tritanopia (blue-blind)
#7A4661
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c3299;
/* rgb */ color: rgb(124, 50, 153);
/* oklch */ color: oklch(46.7% 0.169 315.0);
Tailwind
colors: {
  custom: {
    50: '#a570b8',
    500: '#7c3299',
    950: '#000000',
  },
}
SCSS
$custom: #7c3299;
$custom-light: #a570b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3299",
  "rgb": {
    "r": 124,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 283.107,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.467,
    "c": 0.16869,
    "h": 315
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#7C3299
secondary
#83BA6D
accent
#DA4E75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7C3299

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

Preview Lab → · Contrast checker → · Palette generator →

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