#7D30BB#7D30BB

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

Color values

HEX#7D30BB
RGBrgb(125, 48, 187)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 74%, 73%)
CMYKcmyk(33.2%, 74.3%, 0%, 26.7%)
CIE-LABlab(37.95, 57.12, -59.16)
CIE-LCHlch(37.95, 82.23, 313.99°)
OKLaboklab(49.08% 0.1182 -0.1684)
OKLCHoklch(49.08% 0.206 305.1)
XYZxyz(18.4820, 10.0618, 47.9725)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30BB #6EBB30
analogous
#3730BB #7D30BB #BB30B3
triadic
#7D30BB #BB7D30 #30BB7D
tetradic
#7D30BB #BB3730 #6EBB30 #30B3BB
square
#7D30BB #BB3730 #6EBB30 #30B3BB
split-complementary
#7D30BB #B3BB30 #30BB37
monochromatic
#3C175A #5C238A #7D30BB #9B55D3 #B886E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D30BB#FFFFFF#000000##FFFFFF
##7D30BB1.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)
#0057BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#715273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d30bb;
/* rgb */ color: rgb(125, 48, 187);
/* oklch */ color: oklch(49.1% 0.206 305.1);
Tailwind
colors: {
  custom: {
    50: '#a870d0',
    500: '#7d30bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d30bb;
$custom-light: #a870d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30bb",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 273.237,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.20572,
    "h": 305.1
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#7D30BB
secondary
#9FC97D
accent
#E2458B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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