#7D248F#7D248F

#7D248F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.177 H 320.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7D248F
RGBrgb(125, 36, 143)
HSLhsl(290, 60%, 35%)
HSVhsv(290, 75%, 56%)
CMYKcmyk(12.6%, 74.8%, 0%, 43.9%)
CIE-LABlab(33.15, 52.50, -40.46)
CIE-LCHlch(33.15, 66.28, 322.38°)
OKLaboklab(44.68% 0.1365 -0.1134)
OKLCHoklch(44.68% 0.177 320.3)
XYZxyz(14.0456, 7.6056, 26.7095)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D248F #368F24
analogous
#48248F #7D248F #8F246B
triadic
#7D248F #8F7D24 #248F7D
tetradic
#7D248F #8F4824 #368F24 #246B8F
square
#7D248F #8F4824 #368F24 #246B8F
split-complementary
#7D248F #6B8F24 #248F48
monochromatic
#280B2D #52185E #7D248F #A830C0 #C058D5

Accessibility & contrast

On white

8.33
#7D248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D248F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D248F#FFFFFF#000000##FFFFFF
##7D248F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#2F518D
Tritanopia (blue-blind)
#7E3958
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d248f;
/* rgb */ color: rgb(125, 36, 143);
/* oklch */ color: oklch(44.7% 0.177 320.3);
Tailwind
colors: {
  custom: {
    50: '#a668b0',
    500: '#7d248f',
    950: '#000000',
  },
}
SCSS
$custom: #7d248f;
$custom-light: #a668b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d248f",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 289.907,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.17742,
    "h": 320.3
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#7D248F
secondary
#66B955
accent
#E3455F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D248F

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

Preview Lab → · Contrast checker → · Palette generator →

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