#9F30BD#9F30BD

#9F30BD is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.218 H 318.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9F30BD
RGBrgb(159, 48, 189)
HSLhsl(287, 59%, 46%)
HSVhsv(287, 75%, 74%)
CMYKcmyk(15.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(43.00, 64.05, -51.93)
CIE-LCHlch(43.00, 82.46, 320.97°)
OKLaboklab(53.7% 0.1621 -0.146)
OKLCHoklch(53.7% 0.218 318)
XYZxyz(24.5390, 13.1601, 49.3818)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30BD #4EBD30
analogous
#5930BD #9F30BD #BD3095
triadic
#9F30BD #BD9F30 #30BD9F
tetradic
#9F30BD #BD5930 #4EBD30 #3095BD
square
#9F30BD #BD5930 #4EBD30 #3095BD
split-complementary
#9F30BD #95BD30 #30BD59
monochromatic
#4D175B #76248C #9F30BD #B956D4 #CD87E0

Accessibility & contrast

On white

5.78
#9F30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9F30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30BD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30BD#FFFFFF#000000##FFFFFF
##9F30BD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#9E4E75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f30bd;
/* rgb */ color: rgb(159, 48, 189);
/* oklch */ color: oklch(53.7% 0.218 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf74d2',
    500: '#9f30bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f30bd;
$custom-light: #bf74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30bd",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 287.234,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.21812,
    "h": 318
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#9F30BD
secondary
#8FCA7F
accent
#E34567
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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