#7C30A2#7C30A2

#7C30A2 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.180 H 312.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7C30A2
RGBrgb(124, 48, 162)
HSLhsl(280, 54%, 41%)
HSVhsv(280, 70%, 64%)
CMYKcmyk(23.5%, 70.4%, 0%, 36.5%)
CIE-LABlab(36.00, 51.30, -47.45)
CIE-LCHlch(36.00, 69.88, 317.23°)
OKLaboklab(47.09% 0.1208 -0.134)
OKLCHoklch(47.09% 0.18 312)
XYZxyz(15.8895, 9.0081, 35.0771)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30A2 #56A230
analogous
#4330A2 #7C30A2 #A2308F
triadic
#7C30A2 #A27C30 #30A27C
tetradic
#7C30A2 #A24330 #56A230 #308FA2
square
#7C30A2 #A24330 #56A230 #308FA2
split-complementary
#7C30A2 #8FA230 #30A243
monochromatic
#341444 #582273 #7C30A2 #9D47C8 #B676D6

Accessibility & contrast

On white

7.50
#7C30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7C30A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30A2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30A2#FFFFFF#000000##FFFFFF
##7C30A21.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#23569F
Tritanopia (blue-blind)
#784865
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c30a2;
/* rgb */ color: rgb(124, 48, 162);
/* oklch */ color: oklch(47.1% 0.180 312.0);
Tailwind
colors: {
  custom: {
    50: '#a66fbe',
    500: '#7c30a2',
    950: '#000000',
  },
}
SCSS
$custom: #7c30a2;
$custom-light: #a66fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30a2",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.18039,
    "h": 312
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#7C30A2
secondary
#8ABE6F
accent
#DE4A7B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7C30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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