#7D2095#7D2095

#7D2095 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.187 H 318.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7D2095
RGBrgb(125, 32, 149)
HSLhsl(288, 65%, 35%)
HSVhsv(288, 79%, 58%)
CMYKcmyk(16.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(33.06, 55.08, -44.29)
CIE-LCHlch(33.06, 70.68, 321.20°)
OKLaboklab(44.74% 0.1395 -0.1246)
OKLCHoklch(44.74% 0.187 318.2)
XYZxyz(14.3980, 7.5636, 29.1295)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2095 #389520
analogous
#422095 #7D2095 #952073
triadic
#7D2095 #957D20 #20957D
tetradic
#7D2095 #954220 #389520 #207395
square
#7D2095 #954220 #389520 #207395
split-complementary
#7D2095 #739520 #209542
monochromatic
#280A30 #531563 #7D2095 #A72BC7 #BF55DA

Accessibility & contrast

On white

8.36
#7D2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2095
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2095#FFFFFF#000000##FFFFFF
##7D20951.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#265192
Tritanopia (blue-blind)
#7C3A5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2095;
/* rgb */ color: rgb(125, 32, 149);
/* oklch */ color: oklch(44.7% 0.187 318.2);
Tailwind
colors: {
  custom: {
    50: '#a767b5',
    500: '#7d2095',
    950: '#000000',
  },
}
SCSS
$custom: #7d2095;
$custom-light: #a767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2095",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 287.692,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44743,
    "c": 0.18703,
    "h": 318.2
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#7D2095
secondary
#69BE53
accent
#E84063
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2095

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

Preview Lab → · Contrast checker → · Palette generator →

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