#7C30AC#7C30AC

#7C30AC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.190 H 308.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7C30AC
RGBrgb(124, 48, 172)
HSLhsl(277, 56%, 43%)
HSVhsv(277, 72%, 67%)
CMYKcmyk(27.9%, 72.1%, 0%, 32.5%)
CIE-LABlab(36.70, 53.52, -52.31)
CIE-LCHlch(36.70, 74.84, 315.65°)
OKLaboklab(47.81% 0.1195 -0.1482)
OKLCHoklch(47.81% 0.19 308.9)
XYZxyz(16.8140, 9.3778, 39.9461)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30AC #60AC30
analogous
#3E30AC #7C30AC #AC309E
triadic
#7C30AC #AC7C30 #30AC7C
tetradic
#7C30AC #AC3E30 #60AC30 #309EAC
square
#7C30AC #AC3E30 #60AC30 #309EAC
split-complementary
#7C30AC #9EAC30 #30AC3E
monochromatic
#37154C #5A237C #7C30AC #9B4CCD #B67CDA

Accessibility & contrast

On white

7.30
#7C30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7C30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30AC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30AC#FFFFFF#000000##FFFFFF
##7C30AC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1157A9
Tritanopia (blue-blind)
#754C6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c30ac;
/* rgb */ color: rgb(124, 48, 172);
/* oklch */ color: oklch(47.8% 0.190 308.9);
Tailwind
colors: {
  custom: {
    50: '#a66fc5',
    500: '#7c30ac',
    950: '#000000',
  },
}
SCSS
$custom: #7c30ac;
$custom-light: #a66fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30ac",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 276.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.19042,
    "h": 308.9
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#7C30AC
secondary
#93C375
accent
#E04883
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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