#7D309C#7D309C

#7D309C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.175 H 314.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7D309C
RGBrgb(125, 48, 156)
HSLhsl(283, 53%, 40%)
HSVhsv(283, 69%, 61%)
CMYKcmyk(19.9%, 69.2%, 0%, 38.8%)
CIE-LABlab(35.74, 50.23, -44.23)
CIE-LCHlch(35.74, 66.93, 318.63°)
OKLaboklab(46.8% 0.1227 -0.1245)
OKLCHoklch(46.8% 0.175 314.6)
XYZxyz(15.5142, 8.8747, 32.3418)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D309C #4F9C30
analogous
#47309C #7D309C #9C3085
triadic
#7D309C #9C7D30 #309C7D
tetradic
#7D309C #9C4730 #4F9C30 #30859C
square
#7D309C #9C4730 #4F9C30 #30859C
split-complementary
#7D309C #859C30 #309C47
monochromatic
#32133E #58226D #7D309C #A044C5 #B873D4

Accessibility & contrast

On white

7.57
#7D309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7D309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D309C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D309C#FFFFFF#000000##FFFFFF
##7D309C1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#2C569A
Tritanopia (blue-blind)
#7A4662
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d309c;
/* rgb */ color: rgb(125, 48, 156);
/* oklch */ color: oklch(46.8% 0.175 314.6);
Tailwind
colors: {
  custom: {
    50: '#a66fba',
    500: '#7d309c',
    950: '#000000',
  },
}
SCSS
$custom: #7d309c;
$custom-light: #a66fba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d309c",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 282.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.17477,
    "h": 314.6
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#7D309C
secondary
#83BC6C
accent
#DC4B75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D309C

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

Preview Lab → · Contrast checker → · Palette generator →

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