#7D30B4#7D30B4

#7D30B4 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.199 H 307.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7D30B4
RGBrgb(125, 48, 180)
HSLhsl(275, 58%, 45%)
HSVhsv(275, 73%, 71%)
CMYKcmyk(30.6%, 73.3%, 0%, 29.4%)
CIE-LABlab(37.43, 55.52, -55.89)
CIE-LCHlch(37.43, 78.78, 314.81°)
OKLaboklab(48.54% 0.1196 -0.1587)
OKLCHoklch(48.54% 0.199 307)
XYZxyz(17.7509, 9.7694, 44.1217)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B4 #67B430
analogous
#3B30B4 #7D30B4 #B430A9
triadic
#7D30B4 #B47D30 #30B47D
tetradic
#7D30B4 #B43B30 #67B430 #30A9B4
square
#7D30B4 #B43B30 #67B430 #30A9B4
split-complementary
#7D30B4 #A9B430 #30B43B
monochromatic
#3A1653 #5B2384 #7D30B4 #9B51D1 #B781DD

Accessibility & contrast

On white

7.11
#7D30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7D30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30B4
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B4#FFFFFF#000000##FFFFFF
##7D30B41.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#744F6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d30b4;
/* rgb */ color: rgb(125, 48, 180);
/* oklch */ color: oklch(48.5% 0.199 307.0);
Tailwind
colors: {
  custom: {
    50: '#a870cb',
    500: '#7d30b4',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b4;
$custom-light: #a870cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b4",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 275,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.19871,
    "h": 307
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#7D30B4
secondary
#99C679
accent
#E14787
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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