#9D30BC#9D30BC

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

Color values

HEX#9D30BC
RGBrgb(157, 48, 188)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 74%, 74%)
CMYKcmyk(16.5%, 74.5%, 0%, 26.3%)
CIE-LABlab(42.63, 63.46, -51.96)
CIE-LCHlch(42.63, 82.02, 320.69°)
OKLaboklab(53.36% 0.1598 -0.1461)
OKLCHoklch(53.36% 0.217 317.5)
XYZxyz(24.0374, 12.9139, 48.7937)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D30BC #4FBC30
analogous
#5730BC #9D30BC #BC3095
triadic
#9D30BC #BC9D30 #30BC9D
tetradic
#9D30BC #BC5730 #4FBC30 #3095BC
square
#9D30BC #BC5730 #4FBC30 #3095BC
split-complementary
#9D30BC #95BC30 #30BC57
monochromatic
#4C175A #74248B #9D30BC #B855D4 #CC86E0

Accessibility & contrast

On white

5.86
#9D30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D30BC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D30BC#FFFFFF#000000##FFFFFF
##9D30BC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#9C4E74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d30bc;
/* rgb */ color: rgb(157, 48, 188);
/* oklch */ color: oklch(53.4% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#be74d1',
    500: '#9d30bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d30bc;
$custom-light: #be74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d30bc",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 286.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.2165,
    "h": 317.5
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#9D30BC
secondary
#8FCA7E
accent
#E34568
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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