#7C30C7#7C30C7

#7C30C7 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.218 H 301.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7C30C7
RGBrgb(124, 48, 199)
HSLhsl(270, 61%, 48%)
HSVhsv(270, 76%, 78%)
CMYKcmyk(37.7%, 75.9%, 0%, 22%)
CIE-LABlab(38.76, 59.73, -64.88)
CIE-LCHlch(38.76, 88.18, 312.63°)
OKLaboklab(49.91% 0.1142 -0.1852)
OKLCHoklch(49.91% 0.218 301.7)
XYZxyz(19.6754, 10.5224, 55.0162)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30C7 #7BC730
analogous
#3030C7 #7C30C7 #C730C6
triadic
#7C30C7 #C77C30 #30C77C
tetradic
#7C30C7 #C73030 #7BC730 #30C6C7
square
#7C30C7 #C73030 #7BC730 #30C6C7
split-complementary
#7C30C7 #C6C730 #30C730
monochromatic
#3F1864 #5D2496 #7C30C7 #9B5CD8 #B98EE4

Accessibility & contrast

On white

6.76
#7C30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7C30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C30C7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30C7#FFFFFF#000000##FFFFFF
##7C30C71.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#6C577A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c30c7;
/* rgb */ color: rgb(124, 48, 199);
/* oklch */ color: oklch(49.9% 0.218 301.7);
Tailwind
colors: {
  custom: {
    50: '#a870d9',
    500: '#7c30c7',
    950: '#000000',
  },
}
SCSS
$custom: #7c30c7;
$custom-light: #a870d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30c7",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 270.199,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.21754,
    "h": 301.7
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#7C30C7
secondary
#A9CE85
accent
#E44493
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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