#7D30B1#7D30B1

#7D30B1 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 307.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7D30B1
RGBrgb(125, 48, 177)
HSLhsl(276, 57%, 44%)
HSVhsv(276, 73%, 69%)
CMYKcmyk(29.4%, 72.9%, 0%, 30.6%)
CIE-LABlab(37.20, 54.84, -54.47)
CIE-LCHlch(37.20, 77.29, 315.20°)
OKLaboklab(48.31% 0.1201 -0.1546)
OKLCHoklch(48.31% 0.196 307.8)
XYZxyz(17.4485, 9.6485, 42.5296)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B1 #64B130
analogous
#3D30B1 #7D30B1 #B130A5
triadic
#7D30B1 #B17D30 #30B17D
tetradic
#7D30B1 #B13D30 #64B130 #30A5B1
square
#7D30B1 #B13D30 #64B130 #30A5B1
split-complementary
#7D30B1 #A5B130 #30B13D
monochromatic
#391651 #5B2381 #7D30B1 #9C4FCF #B77FDC

Accessibility & contrast

On white

7.17
#7D30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7D30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D30B1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B1#FFFFFF#000000##FFFFFF
##7D30B11.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0258AE
Tritanopia (blue-blind)
#754E6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d30b1;
/* rgb */ color: rgb(125, 48, 177);
/* oklch */ color: oklch(48.3% 0.196 307.8);
Tailwind
colors: {
  custom: {
    50: '#a770c9',
    500: '#7d30b1',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b1;
$custom-light: #a770c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b1",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 275.814,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.19572,
    "h": 307.8
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#7D30B1
secondary
#97C578
accent
#E14785
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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