#7C30B4#7C30B4

#7C30B4 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.198 H 306.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7C30B4
RGBrgb(124, 48, 180)
HSLhsl(275, 58%, 45%)
HSVhsv(275, 73%, 71%)
CMYKcmyk(31.1%, 73.3%, 0%, 29.4%)
CIE-LABlab(37.29, 55.33, -56.12)
CIE-LCHlch(37.29, 78.80, 314.60°)
OKLaboklab(48.41% 0.1182 -0.1594)
OKLCHoklch(48.41% 0.198 306.5)
XYZxyz(17.6056, 9.6945, 44.1149)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30B4 #68B430
analogous
#3A30B4 #7C30B4 #B430AA
triadic
#7C30B4 #B47C30 #30B47C
tetradic
#7C30B4 #B43A30 #68B430 #30AAB4
square
#7C30B4 #B43A30 #68B430 #30AAB4
split-complementary
#7C30B4 #AAB430 #30B43A
monochromatic
#391653 #5B2384 #7C30B4 #9A51D1 #B681DD

Accessibility & contrast

On white

7.15
#7C30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7C30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30B4
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30B4#FFFFFF#000000##FFFFFF
##7C30B41.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#724F6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c30b4;
/* rgb */ color: rgb(124, 48, 180);
/* oklch */ color: oklch(48.4% 0.198 306.5);
Tailwind
colors: {
  custom: {
    50: '#a770cb',
    500: '#7c30b4',
    950: '#000000',
  },
}
SCSS
$custom: #7c30b4;
$custom-light: #a770cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30b4",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 274.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4841,
    "c": 0.19846,
    "h": 306.5
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#7C30B4
secondary
#9AC679
accent
#E14788
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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