#7D30BA#7D30BA

#7D30BA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.205 H 305.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7D30BA
RGBrgb(125, 48, 186)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 74%, 73%)
CMYKcmyk(32.8%, 74.2%, 0%, 27.1%)
CIE-LABlab(37.88, 56.89, -58.70)
CIE-LCHlch(37.88, 81.74, 314.10°)
OKLaboklab(49% 0.1184 -0.167)
OKLCHoklch(49% 0.205 305.3)
XYZxyz(18.3753, 10.0192, 47.4107)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30BA #6DBA30
analogous
#3830BA #7D30BA #BA30B2
triadic
#7D30BA #BA7D30 #30BA7D
tetradic
#7D30BA #BA3830 #6DBA30 #30B2BA
square
#7D30BA #BA3830 #6DBA30 #30B2BA
split-complementary
#7D30BA #B2BA30 #30BA38
monochromatic
#3C1759 #5C2389 #7D30BA #9B54D3 #B785DF

Accessibility & contrast

On white

6.99
#7D30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7D30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30BA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30BA#FFFFFF#000000##FFFFFF
##7D30BA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#725273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d30ba;
/* rgb */ color: rgb(125, 48, 186);
/* oklch */ color: oklch(49.0% 0.205 305.3);
Tailwind
colors: {
  custom: {
    50: '#a870d0',
    500: '#7d30ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d30ba;
$custom-light: #a870d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30ba",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 273.478,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.20472,
    "h": 305.3
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#7D30BA
secondary
#9EC97D
accent
#E2468B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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