#7D3299#7D3299

#7D3299 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.169 H 315.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7D3299
RGBrgb(125, 50, 153)
HSLhsl(284, 51%, 40%)
HSVhsv(284, 67%, 60%)
CMYKcmyk(18.3%, 67.3%, 0%, 40%)
CIE-LABlab(35.87, 48.68, -42.21)
CIE-LCHlch(35.87, 64.43, 319.08°)
OKLaboklab(46.84% 0.1205 -0.1186)
OKLCHoklch(46.84% 0.169 315.5)
XYZxyz(15.3469, 8.9416, 31.0483)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3299 #4E9932
analogous
#493299 #7D3299 #993282
triadic
#7D3299 #997D32 #32997D
tetradic
#7D3299 #994932 #4E9932 #328299
square
#7D3299 #994932 #4E9932 #328299
split-complementary
#7D3299 #829932 #329949
monochromatic
#32143D #57236B #7D3299 #A146C2 #B874D2

Accessibility & contrast

On white

7.53
#7D3299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D3299
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3299#FFFFFF#000000##FFFFFF
##7D32991.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#315697
Tritanopia (blue-blind)
#7B4661
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3299;
/* rgb */ color: rgb(125, 50, 153);
/* oklch */ color: oklch(46.8% 0.169 315.5);
Tailwind
colors: {
  custom: {
    50: '#a670b8',
    500: '#7d3299',
    950: '#000000',
  },
}
SCSS
$custom: #7d3299;
$custom-light: #a670b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3299",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 283.689,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.16909,
    "h": 315.5
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#7D3299
secondary
#82BA6D
accent
#DA4E74
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3299

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

Preview Lab → · Contrast checker → · Palette generator →

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