#7C309C#7C309C

#7C309C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.174 H 314.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7C309C
RGBrgb(124, 48, 156)
HSLhsl(282, 53%, 40%)
HSVhsv(282, 69%, 61%)
CMYKcmyk(20.5%, 69.2%, 0%, 38.8%)
CIE-LABlab(35.60, 50.00, -44.48)
CIE-LCHlch(35.60, 66.92, 318.35°)
OKLaboklab(46.67% 0.1214 -0.1252)
OKLCHoklch(46.67% 0.174 314.1)
XYZxyz(15.3689, 8.7998, 32.3350)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C309C #509C30
analogous
#46309C #7C309C #9C3086
triadic
#7C309C #9C7C30 #309C7C
tetradic
#7C309C #9C4630 #509C30 #30869C
square
#7C309C #9C4630 #509C30 #30869C
split-complementary
#7C309C #869C30 #309C46
monochromatic
#32133E #57226D #7C309C #9F44C5 #B773D4

Accessibility & contrast

On white

7.61
#7C309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7C309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C309C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C309C#FFFFFF#000000##FFFFFF
##7C309C1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#2B569A
Tritanopia (blue-blind)
#794662
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c309c;
/* rgb */ color: rgb(124, 48, 156);
/* oklch */ color: oklch(46.7% 0.174 314.1);
Tailwind
colors: {
  custom: {
    50: '#a56fba',
    500: '#7c309c',
    950: '#000000',
  },
}
SCSS
$custom: #7c309c;
$custom-light: #a56fba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c309c",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 282.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.17439,
    "h": 314.1
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#7C309C
secondary
#84BC6C
accent
#DC4B76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7C309C

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

Preview Lab → · Contrast checker → · Palette generator →

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