#7B248D#7B248D

#7B248D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.175 H 320.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7B248D
RGBrgb(123, 36, 141)
HSLhsl(290, 59%, 35%)
HSVhsv(290, 74%, 55%)
CMYKcmyk(12.8%, 74.5%, 0%, 44.7%)
CIE-LABlab(32.69, 51.68, -39.98)
CIE-LCHlch(32.69, 65.33, 322.28°)
OKLaboklab(44.25% 0.1342 -0.112)
OKLCHoklch(44.25% 0.175 320.1)
XYZxyz(13.6064, 7.3965, 25.9051)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B248D #368D24
analogous
#46248D #7B248D #8D246B
triadic
#7B248D #8D7B24 #248D7B
tetradic
#7B248D #8D4624 #368D24 #246B8D
square
#7B248D #8D4624 #368D24 #246B8D
split-complementary
#7B248D #6B8D24 #248D46
monochromatic
#260B2B #50185C #7B248D #A630BE #BF57D4

Accessibility & contrast

On white

8.47
#7B248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7B248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B248D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B248D#FFFFFF#000000##FFFFFF
##7B248D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#7B3856
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b248d;
/* rgb */ color: rgb(123, 36, 141);
/* oklch */ color: oklch(44.2% 0.175 320.1);
Tailwind
colors: {
  custom: {
    50: '#a568af',
    500: '#7b248d',
    950: '#000000',
  },
}
SCSS
$custom: #7b248d;
$custom-light: #a568af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b248d",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 289.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.17477,
    "h": 320.1
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#7B248D
secondary
#65B854
accent
#E34560
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B248D

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

Preview Lab → · Contrast checker → · Palette generator →

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