#7D3295#7D3295

#7D3295 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.165 H 317.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7D3295
RGBrgb(125, 50, 149)
HSLhsl(285, 50%, 39%)
HSVhsv(285, 66%, 58%)
CMYKcmyk(16.1%, 66.4%, 0%, 41.6%)
CIE-LABlab(35.62, 47.84, -40.18)
CIE-LCHlch(35.62, 62.47, 319.97°)
OKLaboklab(46.57% 0.1207 -0.1126)
OKLCHoklch(46.57% 0.165 317)
XYZxyz(15.0221, 8.8117, 29.3375)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3295 #4A9532
analogous
#4C3295 #7D3295 #95327C
triadic
#7D3295 #957D32 #32957D
tetradic
#7D3295 #954C32 #4A9532 #327C95
square
#7D3295 #954C32 #4A9532 #327C95
split-complementary
#7D3295 #7C9532 #32954C
monochromatic
#301339 #572367 #7D3295 #A244C0 #B972D0

Accessibility & contrast

On white

7.60
#7D3295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D3295
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3295#FFFFFF#000000##FFFFFF
##7D32951.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#7C445F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3295;
/* rgb */ color: rgb(125, 50, 149);
/* oklch */ color: oklch(46.6% 0.165 317.0);
Tailwind
colors: {
  custom: {
    50: '#a66fb5',
    500: '#7d3295',
    950: '#000000',
  },
}
SCSS
$custom: #7d3295;
$custom-light: #a66fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3295",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 285.455,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.16509,
    "h": 317
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#7D3295
secondary
#7EB86B
accent
#D94F70
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3295

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

Preview Lab → · Contrast checker → · Palette generator →

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