#7D309B#7D309B

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

Color values

HEX#7D309B
RGBrgb(125, 48, 155)
HSLhsl(283, 53%, 40%)
HSVhsv(283, 69%, 61%)
CMYKcmyk(19.4%, 69%, 0%, 39.2%)
CIE-LABlab(35.68, 50.02, -43.73)
CIE-LCHlch(35.68, 66.44, 318.83°)
OKLaboklab(46.74% 0.1227 -0.123)
OKLCHoklch(46.74% 0.174 314.9)
XYZxyz(15.4298, 8.8410, 31.8977)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D309B #4E9B30
analogous
#48309B #7D309B #9B3083
triadic
#7D309B #9B7D30 #309B7D
tetradic
#7D309B #9B4830 #4E9B30 #30839B
square
#7D309B #9B4830 #4E9B30 #30839B
split-complementary
#7D309B #839B30 #309B48
monochromatic
#32133E #57226C #7D309B #A143C5 #B872D3

Accessibility & contrast

On white

7.59
#7D309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D309B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D309B#FFFFFF#000000##FFFFFF
##7D309B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#2D5699
Tritanopia (blue-blind)
#7B4562
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d309b;
/* rgb */ color: rgb(125, 48, 155);
/* oklch */ color: oklch(46.7% 0.174 314.9);
Tailwind
colors: {
  custom: {
    50: '#a66fb9',
    500: '#7d309b',
    950: '#000000',
  },
}
SCSS
$custom: #7d309b;
$custom-light: #a66fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d309b",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 283.178,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46736,
    "c": 0.17379,
    "h": 314.9
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#7D309B
secondary
#82BB6C
accent
#DC4C74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D309B

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

Preview Lab → · Contrast checker → · Palette generator →

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