#7C30B2#7C30B2

#7C30B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 307.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7C30B2
RGBrgb(124, 48, 178)
HSLhsl(275, 58%, 44%)
HSVhsv(275, 73%, 70%)
CMYKcmyk(30.3%, 73%, 0%, 30.2%)
CIE-LABlab(37.14, 54.87, -55.17)
CIE-LCHlch(37.14, 77.81, 314.84°)
OKLaboklab(48.26% 0.1185 -0.1567)
OKLCHoklch(48.26% 0.196 307.1)
XYZxyz(17.4033, 9.6136, 43.0496)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30B2 #66B230
analogous
#3B30B2 #7C30B2 #B230A7
triadic
#7C30B2 #B27C30 #30B27C
tetradic
#7C30B2 #B23B30 #66B230 #30A7B2
square
#7C30B2 #B23B30 #66B230 #30A7B2
split-complementary
#7C30B2 #A7B230 #30B23B
monochromatic
#391652 #5A2382 #7C30B2 #9A50D0 #B680DD

Accessibility & contrast

On white

7.19
#7C30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7C30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30B2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30B2#FFFFFF#000000##FFFFFF
##7C30B21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#734F6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c30b2;
/* rgb */ color: rgb(124, 48, 178);
/* oklch */ color: oklch(48.3% 0.196 307.1);
Tailwind
colors: {
  custom: {
    50: '#a76fca',
    500: '#7c30b2',
    950: '#000000',
  },
}
SCSS
$custom: #7c30b2;
$custom-light: #a76fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30b2",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 275.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48258,
    "c": 0.19645,
    "h": 307.1
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#7C30B2
secondary
#98C678
accent
#E14787
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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