#7C307C#7C307C

#7C307C is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.7% C 0.143 H 327.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7C307C
RGBrgb(124, 48, 124)
HSLhsl(300, 44%, 34%)
HSVhsv(300, 61%, 49%)
CMYKcmyk(0%, 61.3%, 0%, 51.4%)
CIE-LABlab(33.68, 43.53, -27.84)
CIE-LCHlch(33.68, 51.67, 327.40°)
OKLaboklab(44.67% 0.1212 -0.0768)
OKLCHoklch(44.67% 0.143 327.7)
XYZxyz(13.0070, 7.8551, 19.8960)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C307C #307C30
analogous
#56307C #7C307C #7C3056
triadic
#7C307C #7C7C30 #307C7C
tetradic
#7C307C #7C5630 #307C30 #30567C
square
#7C307C #7C5630 #307C30 #30567C
split-complementary
#7C307C #567C30 #307C56
monochromatic
#240E24 #501F50 #7C307C #A841A8 #C364C3

Accessibility & contrast

On white

8.17
#7C307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7C307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C307C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C307C#FFFFFF#000000##FFFFFF
##7C307C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#41537A
Tritanopia (blue-blind)
#803951
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c307c;
/* rgb */ color: rgb(124, 48, 124);
/* oklch */ color: oklch(44.7% 0.143 327.7);
Tailwind
colors: {
  custom: {
    50: '#a46da2',
    500: '#7c307c',
    950: '#000000',
  },
}
SCSS
$custom: #7c307c;
$custom-light: #a46da2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c307c",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 300,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.14345,
    "h": 327.7
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#7C307C
secondary
#5EAA5E
accent
#D45454
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7C307C

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

Preview Lab → · Contrast checker → · Palette generator →

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