#7C348D#7C348D

#7C348D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.2% C 0.154 H 319.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7C348D
RGBrgb(124, 52, 141)
HSLhsl(289, 46%, 38%)
HSVhsv(289, 63%, 55%)
CMYKcmyk(12.1%, 63.1%, 0%, 44.7%)
CIE-LABlab(35.33, 44.97, -35.75)
CIE-LCHlch(35.33, 57.45, 321.51°)
OKLaboklab(46.18% 0.1169 -0.0998)
OKLCHoklch(46.18% 0.154 319.5)
XYZxyz(14.3473, 8.6648, 26.1109)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C348D #458D34
analogous
#4F348D #7C348D #8D3472
triadic
#7C348D #8D7C34 #348D7C
tetradic
#7C348D #8D4F34 #458D34 #34728D
square
#7C348D #8D4F34 #458D34 #34728D
split-complementary
#7C348D #728D34 #348D4F
monochromatic
#2D1334 #552460 #7C348D #A344BA #B971CB

Accessibility & contrast

On white

7.68
#7C348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7C348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C348D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C348D#FFFFFF#000000##FFFFFF
##7C348D1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#7C435B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c348d;
/* rgb */ color: rgb(124, 52, 141);
/* oklch */ color: oklch(46.2% 0.154 319.5);
Tailwind
colors: {
  custom: {
    50: '#a470af',
    500: '#7c348d',
    950: '#000000',
  },
}
SCSS
$custom: #7c348d;
$custom-light: #a470af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c348d",
  "rgb": {
    "r": 124,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 288.539,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46177,
    "c": 0.15372,
    "h": 319.5
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#7C348D
secondary
#78B36A
accent
#D6526B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #7C348D

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

Preview Lab → · Contrast checker → · Palette generator →

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