#7D319C#7D319C

#7D319C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.173 H 314.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7D319C
RGBrgb(125, 49, 156)
HSLhsl(283, 52%, 40%)
HSVhsv(283, 69%, 61%)
CMYKcmyk(19.9%, 68.6%, 0%, 38.8%)
CIE-LABlab(35.90, 49.78, -43.98)
CIE-LCHlch(35.90, 66.42, 318.54°)
OKLaboklab(46.92% 0.1215 -0.1238)
OKLCHoklch(46.92% 0.173 314.5)
XYZxyz(15.5555, 8.9574, 32.3556)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D319C #509C31
analogous
#48319C #7D319C #9C3185
triadic
#7D319C #9C7D31 #319C7D
tetradic
#7D319C #9C4831 #509C31 #31859C
square
#7D319C #9C4831 #509C31 #31859C
split-complementary
#7D319C #859C31 #319C48
monochromatic
#32143F #58226D #7D319C #A045C5 #B874D3

Accessibility & contrast

On white

7.52
#7D319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D319C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D319C#FFFFFF#000000##FFFFFF
##7D319C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d319c;
/* rgb */ color: rgb(125, 49, 156);
/* oklch */ color: oklch(46.9% 0.173 314.5);
Tailwind
colors: {
  custom: {
    50: '#a66fba',
    500: '#7d319c',
    950: '#000000',
  },
}
SCSS
$custom: #7d319c;
$custom-light: #a66fba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d319c",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 282.617,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.17345,
    "h": 314.5
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#7D319C
secondary
#84BB6D
accent
#DC4C76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D319C

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

Preview Lab → · Contrast checker → · Palette generator →

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