#7D309E#7D309E

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

Color values

HEX#7D309E
RGBrgb(125, 48, 158)
HSLhsl(282, 53%, 40%)
HSVhsv(282, 70%, 62%)
CMYKcmyk(20.9%, 69.6%, 0%, 38%)
CIE-LABlab(35.87, 50.66, -45.23)
CIE-LCHlch(35.87, 67.91, 318.24°)
OKLaboklab(46.94% 0.1225 -0.1274)
OKLCHoklch(46.94% 0.177 313.9)
XYZxyz(15.6849, 8.9430, 33.2411)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D309E #519E30
analogous
#46309E #7D309E #9E3088
triadic
#7D309E #9E7D30 #309E7D
tetradic
#7D309E #9E4630 #519E30 #30889E
square
#7D309E #9E4630 #519E30 #30889E
split-complementary
#7D309E #889E30 #309E46
monochromatic
#331340 #58226F #7D309E #A045C6 #B874D5

Accessibility & contrast

On white

7.53
#7D309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7D309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D309E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D309E#FFFFFF#000000##FFFFFF
##7D309E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d309e;
/* rgb */ color: rgb(125, 48, 158);
/* oklch */ color: oklch(46.9% 0.177 313.9);
Tailwind
colors: {
  custom: {
    50: '#a66fbb',
    500: '#7d309e',
    950: '#000000',
  },
}
SCSS
$custom: #7d309e;
$custom-light: #a66fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d309e",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 282,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.17675,
    "h": 313.9
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#7D309E
secondary
#85BD6D
accent
#DD4B77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D309E

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

Preview Lab → · Contrast checker → · Palette generator →

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