#7C30B6#7C30B6

#7C30B6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.200 H 306.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7C30B6
RGBrgb(124, 48, 182)
HSLhsl(274, 58%, 45%)
HSVhsv(274, 74%, 71%)
CMYKcmyk(31.9%, 73.6%, 0%, 28.6%)
CIE-LABlab(37.44, 55.78, -57.06)
CIE-LCHlch(37.44, 79.80, 314.35°)
OKLaboklab(48.56% 0.1178 -0.1622)
OKLCHoklch(48.56% 0.2 306)
XYZxyz(17.8108, 9.7765, 45.1957)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30B6 #6AB630
analogous
#3930B6 #7C30B6 #B630AD
triadic
#7C30B6 #B67C30 #30B67C
tetradic
#7C30B6 #B63930 #6AB630 #30ADB6
square
#7C30B6 #B63930 #6AB630 #30ADB6
split-complementary
#7C30B6 #ADB630 #30B639
monochromatic
#3A1655 #5B2386 #7C30B6 #9A52D1 #B682DE

Accessibility & contrast

On white

7.11
#7C30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7C30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30B6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30B6#FFFFFF#000000##FFFFFF
##7C30B61.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#725070
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c30b6;
/* rgb */ color: rgb(124, 48, 182);
/* oklch */ color: oklch(48.6% 0.200 306.0);
Tailwind
colors: {
  custom: {
    50: '#a770cd',
    500: '#7c30b6',
    950: '#000000',
  },
}
SCSS
$custom: #7c30b6;
$custom-light: #a770cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30b6",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 274.03,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48564,
    "c": 0.20047,
    "h": 306
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#7C30B6
secondary
#9CC77B
accent
#E14689
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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