#9D30BB#9D30BB

#9D30BB is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.216 H 317.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9D30BB
RGBrgb(157, 48, 187)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 74%, 73%)
CMYKcmyk(16%, 74.3%, 0%, 26.7%)
CIE-LABlab(42.57, 63.27, -51.48)
CIE-LCHlch(42.57, 81.57, 320.87°)
OKLaboklab(53.29% 0.1599 -0.1447)
OKLCHoklch(53.29% 0.216 317.8)
XYZxyz(23.9299, 12.8709, 48.2279)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30BB #4EBB30
analogous
#5730BB #9D30BB #BB3093
triadic
#9D30BB #BB9D30 #30BB9D
tetradic
#9D30BB #BB5730 #4EBB30 #3093BB
square
#9D30BB #BB5730 #4EBB30 #3093BB
split-complementary
#9D30BB #93BB30 #30BB57
monochromatic
#4B175A #74238A #9D30BB #B855D3 #CC86E0

Accessibility & contrast

On white

5.88
#9D30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9D30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30BB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30BB#FFFFFF#000000##FFFFFF
##9D30BB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#9C4D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d30bb;
/* rgb */ color: rgb(157, 48, 187);
/* oklch */ color: oklch(53.3% 0.216 317.8);
Tailwind
colors: {
  custom: {
    50: '#be74d0',
    500: '#9d30bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d30bb;
$custom-light: #be74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30bb",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 287.05,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53291,
    "c": 0.21563,
    "h": 317.8
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#9D30BB
secondary
#8EC97D
accent
#E24567
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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