#7C30BB#7C30BB

#7C30BB is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.205 H 304.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7C30BB
RGBrgb(124, 48, 187)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 74%, 73%)
CMYKcmyk(33.7%, 74.3%, 0%, 26.7%)
CIE-LABlab(37.82, 56.93, -59.39)
CIE-LCHlch(37.82, 82.27, 313.79°)
OKLaboklab(48.95% 0.1168 -0.169)
OKLCHoklch(48.95% 0.205 304.6)
XYZxyz(18.3367, 9.9869, 47.9657)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30BB #6FBB30
analogous
#3630BB #7C30BB #BB30B4
triadic
#7C30BB #BB7C30 #30BB7C
tetradic
#7C30BB #BB3630 #6FBB30 #30B4BB
square
#7C30BB #BB3630 #6FBB30 #30B4BB
split-complementary
#7C30BB #B4BB30 #30BB36
monochromatic
#3B175A #5C238A #7C30BB #9A55D3 #B786E0

Accessibility & contrast

On white

7.01
#7C30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7C30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C30BB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30BB#FFFFFF#000000##FFFFFF
##7C30BB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c30bb;
/* rgb */ color: rgb(124, 48, 187);
/* oklch */ color: oklch(49.0% 0.205 304.6);
Tailwind
colors: {
  custom: {
    50: '#a770d0',
    500: '#7c30bb',
    950: '#000000',
  },
}
SCSS
$custom: #7c30bb;
$custom-light: #a770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30bb",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 272.806,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48952,
    "c": 0.20549,
    "h": 304.6
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#7C30BB
secondary
#A0C97D
accent
#E2458D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7C30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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