#7D30B0#7D30B0

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

Color values

HEX#7D30B0
RGBrgb(125, 48, 176)
HSLhsl(276, 57%, 44%)
HSVhsv(276, 73%, 69%)
CMYKcmyk(29%, 72.7%, 0%, 31%)
CIE-LABlab(37.13, 54.62, -53.99)
CIE-LCHlch(37.13, 76.80, 315.33°)
OKLaboklab(48.24% 0.1202 -0.1532)
OKLCHoklch(48.24% 0.195 308.1)
XYZxyz(17.3492, 9.6087, 42.0066)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B0 #63B030
analogous
#3D30B0 #7D30B0 #B030A3
triadic
#7D30B0 #B07D30 #30B07D
tetradic
#7D30B0 #B03D30 #63B030 #30A3B0
square
#7D30B0 #B03D30 #63B030 #30A3B0
split-complementary
#7D30B0 #A3B030 #30B03D
monochromatic
#391650 #5B2380 #7D30B0 #9C4ECF #B77EDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D30B0#FFFFFF#000000##FFFFFF
##7D30B01.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)
#0055B4
Deuteranopia (green-blind)
#0658AD
Tritanopia (blue-blind)
#754E6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d30b0;
/* rgb */ color: rgb(125, 48, 176);
/* oklch */ color: oklch(48.2% 0.195 308.1);
Tailwind
colors: {
  custom: {
    50: '#a76fc8',
    500: '#7d30b0',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b0;
$custom-light: #a76fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b0",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 276.094,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.19471,
    "h": 308.1
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#7D30B0
secondary
#96C577
accent
#E04784
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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