#7D2495#7D2495

#7D2495 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.183 H 318.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7D2495
RGBrgb(125, 36, 149)
HSLhsl(287, 61%, 36%)
HSVhsv(287, 76%, 58%)
CMYKcmyk(16.1%, 75.8%, 0%, 41.6%)
CIE-LABlab(33.55, 53.68, -43.50)
CIE-LCHlch(33.55, 69.09, 320.98°)
OKLaboklab(45.09% 0.1359 -0.1223)
OKLCHoklch(45.09% 0.183 318)
XYZxyz(14.5124, 7.7923, 29.1676)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2495 #3C9524
analogous
#452495 #7D2495 #952475
triadic
#7D2495 #957D24 #24957D
tetradic
#7D2495 #954524 #3C9524 #247595
square
#7D2495 #954524 #3C9524 #247595
split-complementary
#7D2495 #759524 #249545
monochromatic
#2A0C32 #541864 #7D2495 #A630C6 #BD5CD8

Accessibility & contrast

On white

8.21
#7D2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2495
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2495#FFFFFF#000000##FFFFFF
##7D24951.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#295292
Tritanopia (blue-blind)
#7C3C5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2495;
/* rgb */ color: rgb(125, 36, 149);
/* oklch */ color: oklch(45.1% 0.183 318.0);
Tailwind
colors: {
  custom: {
    50: '#a669b5',
    500: '#7d2495',
    950: '#000000',
  },
}
SCSS
$custom: #7d2495;
$custom-light: #a669b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2495",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 287.257,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4509,
    "c": 0.18279,
    "h": 318
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#7D2495
secondary
#6EBC59
accent
#E44466
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2495

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

Preview Lab → · Contrast checker → · Palette generator →

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