#7D239F#7D239F

#7D239F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.193 H 314.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7D239F
RGBrgb(125, 35, 159)
HSLhsl(284, 64%, 38%)
HSVhsv(284, 78%, 62%)
CMYKcmyk(21.4%, 78%, 0%, 37.6%)
CIE-LABlab(34.12, 56.05, -48.66)
CIE-LCHlch(34.12, 74.23, 319.03°)
OKLaboklab(45.72% 0.1353 -0.1374)
OKLCHoklch(45.72% 0.193 314.6)
XYZxyz(15.3154, 8.0658, 33.5443)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D239F #459F23
analogous
#3F239F #7D239F #9F2383
triadic
#7D239F #9F7D23 #239F7D
tetradic
#7D239F #9F3F23 #459F23 #23839F
square
#7D239F #9F3F23 #459F23 #23839F
split-complementary
#7D239F #839F23 #239F3F
monochromatic
#2E0D3B #56186D #7D239F #A42ED1 #BA60DC

Accessibility & contrast

On white

8.04
#7D239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D239F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D239F#FFFFFF#000000##FFFFFF
##7D239F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#7A4060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d239f;
/* rgb */ color: rgb(125, 35, 159);
/* oklch */ color: oklch(45.7% 0.193 314.6);
Tailwind
colors: {
  custom: {
    50: '#a769bc',
    500: '#7d239f',
    950: '#000000',
  },
}
SCSS
$custom: #7d239f;
$custom-light: #a769bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d239f",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 283.548,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.19288,
    "h": 314.6
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#7D239F
secondary
#78C15D
accent
#E7416E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D239F

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

Preview Lab → · Contrast checker → · Palette generator →

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