#7B248F#7B248F

#7B248F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.177 H 319.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7B248F
RGBrgb(123, 36, 143)
HSLhsl(289, 60%, 35%)
HSVhsv(289, 75%, 56%)
CMYKcmyk(14%, 74.8%, 0%, 43.9%)
CIE-LABlab(32.82, 52.07, -41.00)
CIE-LCHlch(32.82, 66.27, 321.78°)
OKLaboklab(44.39% 0.134 -0.115)
OKLCHoklch(44.39% 0.177 319.4)
XYZxyz(13.7565, 7.4565, 26.6959)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B248F #388F24
analogous
#45248F #7B248F #8F246E
triadic
#7B248F #8F7B24 #248F7B
tetradic
#7B248F #8F4524 #388F24 #246E8F
square
#7B248F #8F4524 #388F24 #246E8F
split-complementary
#7B248F #6E8F24 #248F45
monochromatic
#270B2D #51185E #7B248F #A530C0 #BE58D5

Accessibility & contrast

On white

8.43
#7B248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7B248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B248F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B248F#FFFFFF#000000##FFFFFF
##7B248F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#7B3958
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b248f;
/* rgb */ color: rgb(123, 36, 143);
/* oklch */ color: oklch(44.4% 0.177 319.4);
Tailwind
colors: {
  custom: {
    50: '#a568b0',
    500: '#7b248f',
    950: '#000000',
  },
}
SCSS
$custom: #7b248f;
$custom-light: #a568b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b248f",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 288.785,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.17657,
    "h": 319.4
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#7B248F
secondary
#68B955
accent
#E34562
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B248F

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

Preview Lab → · Contrast checker → · Palette generator →

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