#7D248C#7D248C

#7D248C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.175 H 321.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7D248C
RGBrgb(125, 36, 140)
HSLhsl(291, 59%, 35%)
HSVhsv(291, 74%, 55%)
CMYKcmyk(10.7%, 74.3%, 0%, 45.1%)
CIE-LABlab(32.95, 51.92, -38.92)
CIE-LCHlch(32.95, 64.89, 323.14°)
OKLaboklab(44.48% 0.1367 -0.1089)
OKLCHoklch(44.48% 0.175 321.5)
XYZxyz(13.8214, 7.5159, 25.5286)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D248C #338C24
analogous
#49248C #7D248C #8C2467
triadic
#7D248C #8C7D24 #248C7D
tetradic
#7D248C #8C4924 #338C24 #24678C
square
#7D248C #8C4924 #338C24 #24678C
split-complementary
#7D248C #678C24 #248C49
monochromatic
#260B2B #52175B #7D248C #A831BD #C257D4

Accessibility & contrast

On white

8.39
#7D248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D248C
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D248C#FFFFFF#000000##FFFFFF
##7D248C1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#7E3856
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d248c;
/* rgb */ color: rgb(125, 36, 140);
/* oklch */ color: oklch(44.5% 0.175 321.5);
Tailwind
colors: {
  custom: {
    50: '#a668ae',
    500: '#7d248c',
    950: '#000000',
  },
}
SCSS
$custom: #7d248c;
$custom-light: #a668ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d248c",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 291.346,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44479,
    "c": 0.17476,
    "h": 321.5
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#7D248C
secondary
#62B854
accent
#E2465C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D248C

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

Preview Lab → · Contrast checker → · Palette generator →

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