#7C30C0#7C30C0

#7C30C0 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.211 H 303.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7C30C0
RGBrgb(124, 48, 192)
HSLhsl(272, 60%, 47%)
HSVhsv(272, 75%, 75%)
CMYKcmyk(35.4%, 75%, 0%, 24.7%)
CIE-LABlab(38.21, 58.09, -61.69)
CIE-LCHlch(38.21, 84.74, 313.28°)
OKLaboklab(49.35% 0.1158 -0.1758)
OKLCHoklch(49.35% 0.211 303.4)
XYZxyz(18.8813, 10.2048, 50.8339)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30C0 #74C030
analogous
#3430C0 #7C30C0 #C030BC
triadic
#7C30C0 #C07C30 #30C07C
tetradic
#7C30C0 #C03430 #74C030 #30BCC0
square
#7C30C0 #C03430 #74C030 #30BCC0
split-complementary
#7C30C0 #BCC030 #30C034
monochromatic
#3D185E #5C248F #7C30C0 #9A58D5 #B889E1

Accessibility & contrast

On white

6.91
#7C30C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7C30C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C30C0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30C0#FFFFFF#000000##FFFFFF
##7C30C01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#6E5476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c30c0;
/* rgb */ color: rgb(124, 48, 192);
/* oklch */ color: oklch(49.3% 0.211 303.4);
Tailwind
colors: {
  custom: {
    50: '#a870d4',
    500: '#7c30c0',
    950: '#000000',
  },
}
SCSS
$custom: #7c30c0;
$custom-light: #a870d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30c0",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 271.667,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.21052,
    "h": 303.4
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#7C30C0
secondary
#A4CB80
accent
#E3458F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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