#7D3293#7D3293

#7D3293 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 317.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7D3293
RGBrgb(125, 50, 147)
HSLhsl(286, 49%, 39%)
HSVhsv(286, 66%, 58%)
CMYKcmyk(15%, 66%, 0%, 42.4%)
CIE-LABlab(35.50, 47.42, -39.16)
CIE-LCHlch(35.50, 61.50, 320.45°)
OKLaboklab(46.44% 0.1207 -0.1097)
OKLCHoklch(46.44% 0.163 317.8)
XYZxyz(14.8638, 8.7484, 28.5038)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3293 #489332
analogous
#4C3293 #7D3293 #933278
triadic
#7D3293 #937D32 #32937D
tetradic
#7D3293 #934C32 #489332 #327893
square
#7D3293 #934C32 #489332 #327893
split-complementary
#7D3293 #789332 #32934C
monochromatic
#2F1338 #562265 #7D3293 #A343BF #B971CF

Accessibility & contrast

On white

7.64
#7D3293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7D3293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3293
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3293#FFFFFF#000000##FFFFFF
##7D32931.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F96
Deuteranopia (green-blind)
#365691
Tritanopia (blue-blind)
#7C435E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3293;
/* rgb */ color: rgb(125, 50, 147);
/* oklch */ color: oklch(46.4% 0.163 317.8);
Tailwind
colors: {
  custom: {
    50: '#a66fb3',
    500: '#7d3293',
    950: '#000000',
  },
}
SCSS
$custom: #7d3293;
$custom-light: #a66fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3293",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 286.392,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.16311,
    "h": 317.8
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#7D3293
secondary
#7CB76A
accent
#D94F6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3293

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

Preview Lab → · Contrast checker → · Palette generator →

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