#7C30AF#7C30AF

#7C30AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.193 H 308.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7C30AF
RGBrgb(124, 48, 175)
HSLhsl(276, 57%, 44%)
HSVhsv(276, 73%, 69%)
CMYKcmyk(29.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(36.92, 54.19, -53.75)
CIE-LCHlch(36.92, 76.33, 315.24°)
OKLaboklab(48.03% 0.119 -0.1525)
OKLCHoklch(48.03% 0.193 308)
XYZxyz(17.1054, 9.4944, 41.4806)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30AF #63AF30
analogous
#3D30AF #7C30AF #AF30A2
triadic
#7C30AF #AF7C30 #30AF7C
tetradic
#7C30AF #AF3D30 #63AF30 #30A2AF
square
#7C30AF #AF3D30 #63AF30 #30A2AF
split-complementary
#7C30AF #A2AF30 #30AF3D
monochromatic
#38164F #5A237F #7C30AF #9B4ECE #B67EDC

Accessibility & contrast

On white

7.24
#7C30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7C30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30AF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30AF#FFFFFF#000000##FFFFFF
##7C30AF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0658AC
Tritanopia (blue-blind)
#744D6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c30af;
/* rgb */ color: rgb(124, 48, 175);
/* oklch */ color: oklch(48.0% 0.193 308.0);
Tailwind
colors: {
  custom: {
    50: '#a76fc8',
    500: '#7c30af',
    950: '#000000',
  },
}
SCSS
$custom: #7c30af;
$custom-light: #a76fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30af",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 275.906,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48032,
    "c": 0.19343,
    "h": 308
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#7C30AF
secondary
#96C476
accent
#E04885
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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