#7D3294#7D3294

#7D3294 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.164 H 317.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7D3294
RGBrgb(125, 50, 148)
HSLhsl(286, 49%, 39%)
HSVhsv(286, 66%, 58%)
CMYKcmyk(15.5%, 66.2%, 0%, 42%)
CIE-LABlab(35.56, 47.63, -39.67)
CIE-LCHlch(35.56, 61.98, 320.21°)
OKLaboklab(46.51% 0.1207 -0.1111)
OKLCHoklch(46.51% 0.164 317.4)
XYZxyz(14.9426, 8.7799, 28.9188)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3294 #499432
analogous
#4C3294 #7D3294 #94327A
triadic
#7D3294 #947D32 #32947D
tetradic
#7D3294 #944C32 #499432 #327A94
square
#7D3294 #944C32 #499432 #327A94
split-complementary
#7D3294 #7A9432 #32944C
monochromatic
#301339 #562366 #7D3294 #A344C0 #B971CF

Accessibility & contrast

On white

7.62
#7D3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7D3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3294
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3294#FFFFFF#000000##FFFFFF
##7D32941.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F97
Deuteranopia (green-blind)
#355692
Tritanopia (blue-blind)
#7C445E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3294;
/* rgb */ color: rgb(125, 50, 148);
/* oklch */ color: oklch(46.5% 0.164 317.4);
Tailwind
colors: {
  custom: {
    50: '#a66fb4',
    500: '#7d3294',
    950: '#000000',
  },
}
SCSS
$custom: #7d3294;
$custom-light: #a66fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3294",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 285.918,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.1641,
    "h": 317.4
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#7D3294
secondary
#7DB76B
accent
#D94F6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3294

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

Preview Lab → · Contrast checker → · Palette generator →

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