#7C30BD#7C30BD

#7C30BD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.207 H 304.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7C30BD
RGBrgb(124, 48, 189)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 75%, 74%)
CMYKcmyk(34.4%, 74.6%, 0%, 25.9%)
CIE-LABlab(37.97, 57.39, -60.31)
CIE-LCHlch(37.97, 83.26, 313.58°)
OKLaboklab(49.11% 0.1164 -0.1718)
OKLCHoklch(49.11% 0.208 304.1)
XYZxyz(18.5523, 10.0732, 49.1012)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30BD #71BD30
analogous
#3530BD #7C30BD #BD30B8
triadic
#7C30BD #BD7C30 #30BD7C
tetradic
#7C30BD #BD3530 #71BD30 #30B8BD
square
#7C30BD #BD3530 #71BD30 #30B8BD
split-complementary
#7C30BD #B8BD30 #30BD35
monochromatic
#3C175B #5C248C #7C30BD #9A56D4 #B787E0

Accessibility & contrast

On white

6.97
#7C30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C30BD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30BD#FFFFFF#000000##FFFFFF
##7C30BD1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#6F5374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c30bd;
/* rgb */ color: rgb(124, 48, 189);
/* oklch */ color: oklch(49.1% 0.207 304.1);
Tailwind
colors: {
  custom: {
    50: '#a870d2',
    500: '#7c30bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c30bd;
$custom-light: #a870d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30bd",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 272.34,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.2075,
    "h": 304.1
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#7C30BD
secondary
#A1CA7F
accent
#E3458E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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