#7D239C#7D239C

#7D239C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.190 H 315.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7D239C
RGBrgb(125, 35, 156)
HSLhsl(285, 63%, 37%)
HSVhsv(285, 78%, 61%)
CMYKcmyk(19.9%, 77.6%, 0%, 38.8%)
CIE-LABlab(33.91, 55.44, -47.19)
CIE-LCHlch(33.91, 72.81, 319.60°)
OKLaboklab(45.5% 0.1358 -0.1331)
OKLCHoklch(45.5% 0.19 315.6)
XYZxyz(15.0583, 7.9629, 32.1898)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D239C #429C23
analogous
#40239C #7D239C #9C237F
triadic
#7D239C #9C7D23 #239C7D
tetradic
#7D239C #9C4023 #429C23 #237F9C
square
#7D239C #9C4023 #429C23 #237F9C
split-complementary
#7D239C #7F9C23 #239C40
monochromatic
#2D0D38 #55186A #7D239C #A52ECE #BB5EDB

Accessibility & contrast

On white

8.10
#7D239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D239C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D239C#FFFFFF#000000##FFFFFF
##7D239C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#7B3E5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d239c;
/* rgb */ color: rgb(125, 35, 156);
/* oklch */ color: oklch(45.5% 0.190 315.6);
Tailwind
colors: {
  custom: {
    50: '#a768ba',
    500: '#7d239c',
    950: '#000000',
  },
}
SCSS
$custom: #7d239c;
$custom-light: #a768ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d239c",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 284.628,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.19017,
    "h": 315.6
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#7D239C
secondary
#75C05B
accent
#E6416C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D239C

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

Preview Lab → · Contrast checker → · Palette generator →

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