#7C30B8#7C30B8

#7C30B8 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.202 H 305.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7C30B8
RGBrgb(124, 48, 184)
HSLhsl(274, 59%, 45%)
HSVhsv(274, 74%, 72%)
CMYKcmyk(32.6%, 73.9%, 0%, 27.8%)
CIE-LABlab(37.59, 56.24, -57.99)
CIE-LCHlch(37.59, 80.79, 314.12°)
OKLaboklab(48.72% 0.1174 -0.165)
OKLCHoklch(48.72% 0.202 305.4)
XYZxyz(18.0189, 9.8598, 46.2920)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30B8 #6CB830
analogous
#3830B8 #7C30B8 #B830B0
triadic
#7C30B8 #B87C30 #30B87C
tetradic
#7C30B8 #B83830 #6CB830 #30B0B8
square
#7C30B8 #B83830 #6CB830 #30B0B8
split-complementary
#7C30B8 #B0B830 #30B838
monochromatic
#3B1757 #5B2387 #7C30B8 #9A53D2 #B784DF

Accessibility & contrast

On white

7.07
#7C30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7C30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30B8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30B8#FFFFFF#000000##FFFFFF
##7C30B81.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#715172
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7c30b8;
/* rgb */ color: rgb(124, 48, 184);
/* oklch */ color: oklch(48.7% 0.202 305.4);
Tailwind
colors: {
  custom: {
    50: '#a770ce',
    500: '#7c30b8',
    950: '#000000',
  },
}
SCSS
$custom: #7c30b8;
$custom-light: #a770ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30b8",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 273.529,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.20248,
    "h": 305.4
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#7C30B8
secondary
#9DC87C
accent
#E2468B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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