#7D309F#7D309F

#7D309F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.178 H 313.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7D309F
RGBrgb(125, 48, 159)
HSLhsl(282, 54%, 41%)
HSVhsv(282, 70%, 62%)
CMYKcmyk(21.4%, 69.8%, 0%, 37.6%)
CIE-LABlab(35.94, 50.87, -45.73)
CIE-LCHlch(35.94, 68.40, 318.05°)
OKLaboklab(47.01% 0.1224 -0.1289)
OKLCHoklch(47.01% 0.178 313.5)
XYZxyz(15.7713, 8.9776, 33.6962)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D309F #529F30
analogous
#46309F #7D309F #9F3089
triadic
#7D309F #9F7D30 #309F7D
tetradic
#7D309F #9F4630 #529F30 #30899F
square
#7D309F #9F4630 #529F30 #30899F
split-complementary
#7D309F #899F30 #309F46
monochromatic
#331441 #582270 #7D309F #9F45C7 #B774D5

Accessibility & contrast

On white

7.51
#7D309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7D309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D309F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D309F#FFFFFF#000000##FFFFFF
##7D309F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#29569C
Tritanopia (blue-blind)
#7A4764
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d309f;
/* rgb */ color: rgb(125, 48, 159);
/* oklch */ color: oklch(47.0% 0.178 313.5);
Tailwind
colors: {
  custom: {
    50: '#a66fbc',
    500: '#7d309f',
    950: '#000000',
  },
}
SCSS
$custom: #7d309f;
$custom-light: #a66fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d309f",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 281.622,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.17775,
    "h": 313.5
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#7D309F
secondary
#86BD6E
accent
#DD4B78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D309F

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

Preview Lab → · Contrast checker → · Palette generator →

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