#7B248A#7B248A

#7B248A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.172 H 321.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7B248A
RGBrgb(123, 36, 138)
HSLhsl(291, 59%, 34%)
HSVhsv(291, 74%, 54%)
CMYKcmyk(10.9%, 73.9%, 0%, 45.9%)
CIE-LABlab(32.50, 51.09, -38.43)
CIE-LCHlch(32.50, 63.93, 323.05°)
OKLaboklab(44.05% 0.1344 -0.1075)
OKLCHoklch(44.05% 0.172 321.3)
XYZxyz(13.3862, 7.3084, 24.7454)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B248A #338A24
analogous
#48248A #7B248A #8A2466
triadic
#7B248A #8A7B24 #248A7B
tetradic
#7B248A #8A4824 #338A24 #24668A
square
#7B248A #8A4824 #338A24 #24668A
split-complementary
#7B248A #668A24 #248A48
monochromatic
#240B29 #501759 #7B248A #A631BB #C056D3

Accessibility & contrast

On white

8.53
#7B248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7B248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B248A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B248A#FFFFFF#000000##FFFFFF
##7B248A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#305088
Tritanopia (blue-blind)
#7C3755
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b248a;
/* rgb */ color: rgb(123, 36, 138);
/* oklch */ color: oklch(44.0% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#a568ad',
    500: '#7b248a',
    950: '#000000',
  },
}
SCSS
$custom: #7b248a;
$custom-light: #a568ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b248a",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 291.176,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.17209,
    "h": 321.3
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#7B248A
secondary
#62B753
accent
#E2465D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B248A

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

Preview Lab → · Contrast checker → · Palette generator →

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