#7D3C98#7D3C98

#7D3C98 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.1% C 0.153 H 314.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7D3C98
RGBrgb(125, 60, 152)
HSLhsl(282, 43%, 42%)
HSVhsv(282, 61%, 60%)
CMYKcmyk(17.8%, 60.5%, 0%, 40.4%)
CIE-LABlab(37.59, 43.59, -38.86)
CIE-LCHlch(37.59, 58.39, 318.28°)
OKLaboklab(48.06% 0.108 -0.1088)
OKLCHoklch(48.06% 0.153 314.8)
XYZxyz(15.7399, 9.8592, 30.7736)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3C98 #57983C
analogous
#4F3C98 #7D3C98 #983C85
triadic
#7D3C98 #987D3C #3C987D
tetradic
#7D3C98 #984F3C #57983C #3C8598
square
#7D3C98 #984F3C #57983C #3C8598
split-complementary
#7D3C98 #85983C #3C984F
monochromatic
#351940 #592B6C #7D3C98 #9E55BC #B781CD

Accessibility & contrast

On white

7.07
#7D3C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7D3C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3C98
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3C98#FFFFFF#000000##FFFFFF
##7D3C981.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#7B4C64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d3c98;
/* rgb */ color: rgb(125, 60, 152);
/* oklch */ color: oklch(48.1% 0.153 314.8);
Tailwind
colors: {
  custom: {
    50: '#a575b7',
    500: '#7d3c98',
    950: '#000000',
  },
}
SCSS
$custom: #7d3c98;
$custom-light: #a575b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3c98",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 282.391,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.15335,
    "h": 314.8
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#7D3C98
secondary
#8BB779
accent
#D3557A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7D3C98

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

Preview Lab → · Contrast checker → · Palette generator →

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