#7D3283#7D3283

#7D3283 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.147 H 324.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7D3283
RGBrgb(125, 50, 131)
HSLhsl(296, 45%, 35%)
HSVhsv(296, 62%, 51%)
CMYKcmyk(4.6%, 61.8%, 0%, 48.6%)
CIE-LABlab(34.56, 44.19, -30.80)
CIE-LCHlch(34.56, 53.86, 325.13°)
OKLaboklab(45.46% 0.1203 -0.0853)
OKLCHoklch(45.46% 0.148 324.7)
XYZxyz(13.6944, 8.2806, 22.3453)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3283 #388332
analogous
#553283 #7D3283 #833260
triadic
#7D3283 #837D32 #32837D
tetradic
#7D3283 #835532 #388332 #326083
square
#7D3283 #835532 #388332 #326083
split-complementary
#7D3283 #608332 #328355
monochromatic
#28102A #532157 #7D3283 #A743AF #BF69C6

Accessibility & contrast

On white

7.91
#7D3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3283
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3283#FFFFFF#000000##FFFFFF
##7D32831.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#405481
Tritanopia (blue-blind)
#803D56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d3283;
/* rgb */ color: rgb(125, 50, 131);
/* oklch */ color: oklch(45.5% 0.147 324.7);
Tailwind
colors: {
  custom: {
    50: '#a56fa7',
    500: '#7d3283',
    950: '#000000',
  },
}
SCSS
$custom: #7d3283;
$custom-light: #a56fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3283",
  "rgb": {
    "r": 125,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 295.556,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45464,
    "c": 0.1475,
    "h": 324.7
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#7D3283
secondary
#69AE63
accent
#D4535D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #7D3283

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

Preview Lab → · Contrast checker → · Palette generator →

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