#7D2693#7D2693

#7D2693 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.179 H 318.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7D2693
RGBrgb(125, 38, 147)
HSLhsl(288, 59%, 36%)
HSVhsv(288, 74%, 58%)
CMYKcmyk(15%, 74.1%, 0%, 42.4%)
CIE-LABlab(33.68, 52.53, -42.07)
CIE-LCHlch(33.68, 67.30, 321.31°)
OKLaboklab(45.14% 0.1341 -0.1181)
OKLCHoklch(45.14% 0.179 318.6)
XYZxyz(14.4163, 7.8535, 28.3546)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2693 #3C9326
analogous
#472693 #7D2693 #932673
triadic
#7D2693 #937D26 #26937D
tetradic
#7D2693 #934726 #3C9326 #267393
square
#7D2693 #934726 #3C9326 #267393
split-complementary
#7D2693 #739326 #269347
monochromatic
#2A0D32 #541962 #7D2693 #A633C4 #BD5ED5

Accessibility & contrast

On white

8.17
#7D2693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7D2693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2693
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2693#FFFFFF#000000##FFFFFF
##7D26931.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#7D3C5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2693;
/* rgb */ color: rgb(125, 38, 147);
/* oklch */ color: oklch(45.1% 0.179 318.6);
Tailwind
colors: {
  custom: {
    50: '#a669b3',
    500: '#7d2693',
    950: '#000000',
  },
}
SCSS
$custom: #7d2693;
$custom-light: #a669b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2693",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 287.89,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.17871,
    "h": 318.6
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#7D2693
secondary
#6EBA5A
accent
#E24665
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2693

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

Preview Lab → · Contrast checker → · Palette generator →

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