#7D30B3#7D30B3

#7D30B3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 307.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7D30B3
RGBrgb(125, 48, 179)
HSLhsl(275, 58%, 45%)
HSVhsv(275, 73%, 70%)
CMYKcmyk(30.2%, 73.2%, 0%, 29.8%)
CIE-LABlab(37.35, 55.29, -55.41)
CIE-LCHlch(37.35, 78.28, 314.94°)
OKLaboklab(48.46% 0.1197 -0.1573)
OKLCHoklch(48.46% 0.198 307.3)
XYZxyz(17.6494, 9.7288, 43.5871)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30B3 #66B330
analogous
#3C30B3 #7D30B3 #B330A8
triadic
#7D30B3 #B37D30 #30B37D
tetradic
#7D30B3 #B33C30 #66B330 #30A8B3
square
#7D30B3 #B33C30 #66B330 #30A8B3
split-complementary
#7D30B3 #A8B330 #30B33C
monochromatic
#3A1652 #5B2383 #7D30B3 #9B50D0 #B780DD

Accessibility & contrast

On white

7.13
#7D30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D30B3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30B3#FFFFFF#000000##FFFFFF
##7D30B31.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#744F6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d30b3;
/* rgb */ color: rgb(125, 48, 179);
/* oklch */ color: oklch(48.5% 0.198 307.3);
Tailwind
colors: {
  custom: {
    50: '#a770cb',
    500: '#7d30b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d30b3;
$custom-light: #a770cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30b3",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 275.267,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.19771,
    "h": 307.3
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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