#7D309A#7D309A

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

Color values

HEX#7D309A
RGBrgb(125, 48, 154)
HSLhsl(284, 52%, 40%)
HSVhsv(284, 69%, 60%)
CMYKcmyk(18.8%, 68.8%, 0%, 39.6%)
CIE-LABlab(35.61, 49.80, -43.23)
CIE-LCHlch(35.61, 65.95, 319.04°)
OKLaboklab(46.67% 0.1228 -0.1216)
OKLCHoklch(46.67% 0.173 315.3)
XYZxyz(15.3462, 8.8075, 31.4572)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D309A #4D9A30
analogous
#48309A #7D309A #9A3082
triadic
#7D309A #9A7D30 #309A7D
tetradic
#7D309A #9A4830 #4D9A30 #30829A
square
#7D309A #9A4830 #4D9A30 #30829A
split-complementary
#7D309A #829A30 #309A48
monochromatic
#31133D #57216B #7D309A #A143C4 #B872D3

Accessibility & contrast

On white

7.60
#7D309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D309A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D309A#FFFFFF#000000##FFFFFF
##7D309A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#2E5698
Tritanopia (blue-blind)
#7B4561
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d309a;
/* rgb */ color: rgb(125, 48, 154);
/* oklch */ color: oklch(46.7% 0.173 315.3);
Tailwind
colors: {
  custom: {
    50: '#a66fb8',
    500: '#7d309a',
    950: '#000000',
  },
}
SCSS
$custom: #7d309a;
$custom-light: #a66fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d309a",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 283.585,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.1728,
    "h": 315.3
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#7D309A
secondary
#81BB6B
accent
#DC4C73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D309A

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

Preview Lab → · Contrast checker → · Palette generator →

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