#7D338D#7D338D

#7D338D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.156 H 320.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7D338D
RGBrgb(125, 51, 141)
HSLhsl(289, 47%, 38%)
HSVhsv(289, 64%, 55%)
CMYKcmyk(11.3%, 63.8%, 0%, 44.7%)
CIE-LABlab(35.30, 45.71, -35.79)
CIE-LCHlch(35.30, 58.05, 321.94°)
OKLaboklab(46.19% 0.1195 -0.0998)
OKLCHoklch(46.19% 0.156 320.1)
XYZxyz(14.4484, 8.6514, 26.1030)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D338D #438D33
analogous
#50338D #7D338D #8D3370
triadic
#7D338D #8D7D33 #338D7D
tetradic
#7D338D #8D5033 #438D33 #33708D
square
#7D338D #8D5033 #438D33 #33708D
split-complementary
#7D338D #708D33 #338D50
monochromatic
#2D1233 #552360 #7D338D #A543BA #BB6FCB

Accessibility & contrast

On white

7.69
#7D338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D338D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D338D#FFFFFF#000000##FFFFFF
##7D338D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#7E425B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d338d;
/* rgb */ color: rgb(125, 51, 141);
/* oklch */ color: oklch(46.2% 0.156 320.1);
Tailwind
colors: {
  custom: {
    50: '#a570af',
    500: '#7d338d',
    950: '#000000',
  },
}
SCSS
$custom: #7d338d;
$custom-light: #a570af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d338d",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 289.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46188,
    "c": 0.1557,
    "h": 320.1
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#7D338D
secondary
#76B369
accent
#D75169
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7D338D

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

Preview Lab → · Contrast checker → · Palette generator →

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