#7D30BD#7D30BD

#7D30BD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.208 H 304.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7D30BD
RGBrgb(125, 48, 189)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 75%, 74%)
CMYKcmyk(33.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(38.11, 57.57, -60.09)
CIE-LCHlch(38.11, 83.22, 313.78°)
OKLaboklab(49.23% 0.1178 -0.1711)
OKLCHoklch(49.23% 0.208 304.6)
XYZxyz(18.6976, 10.1481, 49.1080)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30BD #70BD30
analogous
#3730BD #7D30BD #BD30B7
triadic
#7D30BD #BD7D30 #30BD7D
tetradic
#7D30BD #BD3730 #70BD30 #30B7BD
square
#7D30BD #BD3730 #70BD30 #30B7BD
split-complementary
#7D30BD #B7BD30 #30BD37
monochromatic
#3C175B #5D248C #7D30BD #9B56D4 #B887E0

Accessibility & contrast

On white

6.93
#7D30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30BD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30BD#FFFFFF#000000##FFFFFF
##7D30BD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#715374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d30bd;
/* rgb */ color: rgb(125, 48, 189);
/* oklch */ color: oklch(49.2% 0.208 304.6);
Tailwind
colors: {
  custom: {
    50: '#a870d2',
    500: '#7d30bd',
    950: '#000000',
  },
}
SCSS
$custom: #7d30bd;
$custom-light: #a870d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30bd",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 272.766,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.20771,
    "h": 304.6
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#7D30BD
secondary
#A1CA7F
accent
#E3458D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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