#7C309A#7C309A

#7C309A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.172 H 314.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7C309A
RGBrgb(124, 48, 154)
HSLhsl(283, 52%, 40%)
HSVhsv(283, 69%, 60%)
CMYKcmyk(19.5%, 68.8%, 0%, 39.6%)
CIE-LABlab(35.46, 49.57, -43.47)
CIE-LCHlch(35.46, 65.94, 318.75°)
OKLaboklab(46.53% 0.1215 -0.1223)
OKLCHoklch(46.53% 0.172 314.8)
XYZxyz(15.2009, 8.7326, 31.4504)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C309A #4E9A30
analogous
#47309A #7C309A #9A3083
triadic
#7C309A #9A7C30 #309A7C
tetradic
#7C309A #9A4730 #4E9A30 #30839A
square
#7C309A #9A4730 #4E9A30 #30839A
split-complementary
#7C309A #839A30 #309A47
monochromatic
#31133D #56216B #7C309A #A043C4 #B772D3

Accessibility & contrast

On white

7.65
#7C309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7C309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C309A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C309A#FFFFFF#000000##FFFFFF
##7C309A1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#2D5598
Tritanopia (blue-blind)
#7A4561
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c309a;
/* rgb */ color: rgb(124, 48, 154);
/* oklch */ color: oklch(46.5% 0.172 314.8);
Tailwind
colors: {
  custom: {
    50: '#a56fb8',
    500: '#7c309a',
    950: '#000000',
  },
}
SCSS
$custom: #7c309a;
$custom-light: #a56fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c309a",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 283.019,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.17241,
    "h": 314.8
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#7C309A
secondary
#82BB6B
accent
#DC4C75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7C309A

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

Preview Lab → · Contrast checker → · Palette generator →

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