#7C30B1#7C30B1

#7C30B1 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.195 H 307.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7C30B1
RGBrgb(124, 48, 177)
HSLhsl(275, 57%, 44%)
HSVhsv(275, 73%, 69%)
CMYKcmyk(29.9%, 72.9%, 0%, 30.6%)
CIE-LABlab(37.07, 54.65, -54.70)
CIE-LCHlch(37.07, 77.32, 314.97°)
OKLaboklab(48.18% 0.1187 -0.1553)
OKLCHoklch(48.18% 0.195 307.4)
XYZxyz(17.3033, 9.5735, 42.5228)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30B1 #65B130
analogous
#3C30B1 #7C30B1 #B130A6
triadic
#7C30B1 #B17C30 #30B17C
tetradic
#7C30B1 #B13C30 #65B130 #30A6B1
square
#7C30B1 #B13C30 #65B130 #30A6B1
split-complementary
#7C30B1 #A6B130 #30B13C
monochromatic
#391651 #5A2381 #7C30B1 #9B4FCF #B67FDC

Accessibility & contrast

On white

7.21
#7C30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7C30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30B1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30B1#FFFFFF#000000##FFFFFF
##7C30B11.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#734E6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c30b1;
/* rgb */ color: rgb(124, 48, 177);
/* oklch */ color: oklch(48.2% 0.195 307.4);
Tailwind
colors: {
  custom: {
    50: '#a76fc9',
    500: '#7c30b1',
    950: '#000000',
  },
}
SCSS
$custom: #7c30b1;
$custom-light: #a76fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30b1",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 275.349,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.19544,
    "h": 307.4
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#7C30B1
secondary
#97C578
accent
#E14786
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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