#7D239A#7D239A

#7D239A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.188 H 316.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7D239A
RGBrgb(125, 35, 154)
HSLhsl(285, 63%, 37%)
HSVhsv(285, 77%, 60%)
CMYKcmyk(18.8%, 77.3%, 0%, 39.6%)
CIE-LABlab(33.76, 55.04, -46.20)
CIE-LCHlch(33.76, 71.86, 319.99°)
OKLaboklab(45.35% 0.1361 -0.1302)
OKLCHoklch(45.35% 0.188 316.3)
XYZxyz(14.8903, 7.8957, 31.3053)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D239A #409A23
analogous
#41239A #7D239A #9A237C
triadic
#7D239A #9A7D23 #239A7D
tetradic
#7D239A #9A4123 #409A23 #237C9A
square
#7D239A #9A4123 #409A23 #237C9A
split-complementary
#7D239A #7C9A23 #239A41
monochromatic
#2C0C36 #551868 #7D239A #A52ECC #BC5DDA

Accessibility & contrast

On white

8.14
#7D239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D239A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D239A#FFFFFF#000000##FFFFFF
##7D239A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#225297
Tritanopia (blue-blind)
#7B3D5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d239a;
/* rgb */ color: rgb(125, 35, 154);
/* oklch */ color: oklch(45.4% 0.188 316.3);
Tailwind
colors: {
  custom: {
    50: '#a768b8',
    500: '#7d239a',
    950: '#000000',
  },
}
SCSS
$custom: #7d239a;
$custom-light: #a768b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d239a",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 285.378,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.18837,
    "h": 316.3
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#7D239A
secondary
#73BF5A
accent
#E6426A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D239A

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

Preview Lab → · Contrast checker → · Palette generator →

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