#7C30BA#7C30BA

#7C30BA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.204 H 304.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7C30BA
RGBrgb(124, 48, 186)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 74%, 73%)
CMYKcmyk(33.3%, 74.2%, 0%, 27.1%)
CIE-LABlab(37.74, 56.70, -58.92)
CIE-LCHlch(37.74, 81.77, 313.90°)
OKLaboklab(48.87% 0.117 -0.1677)
OKLCHoklch(48.87% 0.204 304.9)
XYZxyz(18.2301, 9.9443, 47.4039)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30BA #6EBA30
analogous
#3730BA #7C30BA #BA30B3
triadic
#7C30BA #BA7C30 #30BA7C
tetradic
#7C30BA #BA3730 #6EBA30 #30B3BA
square
#7C30BA #BA3730 #6EBA30 #30B3BA
split-complementary
#7C30BA #B3BA30 #30BA37
monochromatic
#3B1759 #5C2389 #7C30BA #9A54D3 #B785DF

Accessibility & contrast

On white

7.03
#7C30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7C30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30BA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30BA#FFFFFF#000000##FFFFFF
##7C30BA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#705273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c30ba;
/* rgb */ color: rgb(124, 48, 186);
/* oklch */ color: oklch(48.9% 0.204 304.9);
Tailwind
colors: {
  custom: {
    50: '#a770d0',
    500: '#7c30ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c30ba;
$custom-light: #a770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30ba",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 273.043,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.20449,
    "h": 304.9
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#7C30BA
secondary
#9FC97D
accent
#E2468C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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