#7C30B3#7C30B3

#7C30B3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.197 H 306.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7C30B3
RGBrgb(124, 48, 179)
HSLhsl(275, 58%, 45%)
HSVhsv(275, 73%, 70%)
CMYKcmyk(30.7%, 73.2%, 0%, 29.8%)
CIE-LABlab(37.21, 55.10, -55.64)
CIE-LCHlch(37.21, 78.31, 314.72°)
OKLaboklab(48.33% 0.1184 -0.158)
OKLCHoklch(48.33% 0.197 306.8)
XYZxyz(17.5041, 9.6539, 43.5803)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30B3 #67B330
analogous
#3B30B3 #7C30B3 #B330A9
triadic
#7C30B3 #B37C30 #30B37C
tetradic
#7C30B3 #B33B30 #67B330 #30A9B3
square
#7C30B3 #B33B30 #67B330 #30A9B3
split-complementary
#7C30B3 #A9B330 #30B33B
monochromatic
#391652 #5B2383 #7C30B3 #9A50D0 #B680DD

Accessibility & contrast

On white

7.17
#7C30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7C30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30B3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30B3#FFFFFF#000000##FFFFFF
##7C30B31.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#734F6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c30b3;
/* rgb */ color: rgb(124, 48, 179);
/* oklch */ color: oklch(48.3% 0.197 306.8);
Tailwind
colors: {
  custom: {
    50: '#a76fcb',
    500: '#7c30b3',
    950: '#000000',
  },
}
SCSS
$custom: #7c30b3;
$custom-light: #a76fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30b3",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 274.809,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48334,
    "c": 0.19746,
    "h": 306.8
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#7C30B3
secondary
#99C679
accent
#E14788
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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