#7D309D#7D309D

#7D309D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.176 H 314.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7D309D
RGBrgb(125, 48, 157)
HSLhsl(282, 53%, 40%)
HSVhsv(282, 69%, 62%)
CMYKcmyk(20.4%, 69.4%, 0%, 38.4%)
CIE-LABlab(35.81, 50.44, -44.73)
CIE-LCHlch(35.81, 67.42, 318.43°)
OKLaboklab(46.87% 0.1226 -0.126)
OKLCHoklch(46.87% 0.176 314.2)
XYZxyz(15.5992, 8.9087, 32.7896)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D309D #509D30
analogous
#46309D #7D309D #9D3087
triadic
#7D309D #9D7D30 #309D7D
tetradic
#7D309D #9D4630 #509D30 #30879D
square
#7D309D #9D4630 #509D30 #30879D
split-complementary
#7D309D #879D30 #309D46
monochromatic
#32133F #58226E #7D309D #A044C6 #B873D4

Accessibility & contrast

On white

7.55
#7D309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D309D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D309D#FFFFFF#000000##FFFFFF
##7D309D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#2B569B
Tritanopia (blue-blind)
#7A4663
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d309d;
/* rgb */ color: rgb(125, 48, 157);
/* oklch */ color: oklch(46.9% 0.176 314.2);
Tailwind
colors: {
  custom: {
    50: '#a66fba',
    500: '#7d309d',
    950: '#000000',
  },
}
SCSS
$custom: #7d309d;
$custom-light: #a66fba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d309d",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 282.385,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.17577,
    "h": 314.2
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#7D309D
secondary
#84BC6D
accent
#DD4B76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D309D

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

Preview Lab → · Contrast checker → · Palette generator →

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