#7C30C1#7C30C1

#7C30C1 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.212 H 303.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7C30C1
RGBrgb(124, 48, 193)
HSLhsl(271, 60%, 47%)
HSVhsv(271, 75%, 76%)
CMYKcmyk(35.8%, 75.1%, 0%, 24.3%)
CIE-LABlab(38.29, 58.32, -62.15)
CIE-LCHlch(38.29, 85.23, 313.18°)
OKLaboklab(49.43% 0.1155 -0.1772)
OKLCHoklch(49.43% 0.212 303.1)
XYZxyz(18.9925, 10.2492, 51.4195)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30C1 #75C130
analogous
#3330C1 #7C30C1 #C130BE
triadic
#7C30C1 #C17C30 #30C17C
tetradic
#7C30C1 #C13330 #75C130 #30BEC1
square
#7C30C1 #C13330 #75C130 #30BEC1
split-complementary
#7C30C1 #BEC130 #30C133
monochromatic
#3D185F #5D2490 #7C30C1 #9A59D6 #B88AE2

Accessibility & contrast

On white

6.89
#7C30C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7C30C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C30C1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30C1#FFFFFF#000000##FFFFFF
##7C30C11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#6E5577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c30c1;
/* rgb */ color: rgb(124, 48, 193);
/* oklch */ color: oklch(49.4% 0.212 303.1);
Tailwind
colors: {
  custom: {
    50: '#a870d5',
    500: '#7c30c1',
    950: '#000000',
  },
}
SCSS
$custom: #7c30c1;
$custom-light: #a870d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30c1",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 271.448,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49427,
    "c": 0.21152,
    "h": 303.1
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#7C30C1
secondary
#A5CC81
accent
#E34490
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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