#9F30B2#9F30B2

#9F30B2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.209 H 321.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9F30B2
RGBrgb(159, 48, 178)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 73%, 70%)
CMYKcmyk(10.7%, 73%, 0%, 30.2%)
CIE-LABlab(42.31, 62.00, -46.58)
CIE-LCHlch(42.31, 77.55, 323.08°)
OKLaboklab(52.99% 0.1631 -0.1303)
OKLCHoklch(52.99% 0.209 321.4)
XYZxyz(23.3900, 12.7005, 43.3303)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30B2 #43B230
analogous
#5E30B2 #9F30B2 #B23084
triadic
#9F30B2 #B29F30 #30B29F
tetradic
#9F30B2 #B25E30 #43B230 #3084B2
square
#9F30B2 #B25E30 #43B230 #3084B2
split-complementary
#9F30B2 #84B230 #30B25E
monochromatic
#491652 #742382 #9F30B2 #BD50D0 #CF80DD

Accessibility & contrast

On white

5.93
#9F30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9F30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30B2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30B2#FFFFFF#000000##FFFFFF
##9F30B21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#A0496E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f30b2;
/* rgb */ color: rgb(159, 48, 178);
/* oklch */ color: oklch(53.0% 0.209 321.4);
Tailwind
colors: {
  custom: {
    50: '#bf73ca',
    500: '#9f30b2',
    950: '#000000',
  },
}
SCSS
$custom: #9f30b2;
$custom-light: #bf73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30b2",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 291.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.20872,
    "h": 321.4
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#9F30B2
secondary
#84C678
accent
#E1475E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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