#9F30CF#9F30CF

#9F30CF is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.234 H 313.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9F30CF
RGBrgb(159, 48, 207)
HSLhsl(282, 62%, 50%)
HSVhsv(282, 77%, 81%)
CMYKcmyk(23.2%, 76.8%, 0%, 18.8%)
CIE-LABlab(44.22, 67.55, -60.43)
CIE-LCHlch(44.22, 90.64, 318.18°)
OKLaboklab(54.95% 0.1594 -0.1709)
OKLCHoklch(54.95% 0.234 313)
XYZxyz(26.6155, 13.9907, 60.3178)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30CF #60CF30
analogous
#5030CF #9F30CF #CF30AF
triadic
#9F30CF #CF9F30 #30CF9F
tetradic
#9F30CF #CF5030 #60CF30 #30AFCF
square
#9F30CF #CF5030 #60CF30 #30AFCF
split-complementary
#9F30CF #AFCF30 #30CF50
monochromatic
#53196C #79249D #9F30CF #B662DB #CD93E6

Accessibility & contrast

On white

5.53
#9F30CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F30CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30CF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30CF#FFFFFF#000000##FFFFFF
##9F30CF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#1A6BCC
Tritanopia (blue-blind)
#9A567F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f30cf;
/* rgb */ color: rgb(159, 48, 207);
/* oklch */ color: oklch(54.9% 0.234 313.0);
Tailwind
colors: {
  custom: {
    50: '#c075df',
    500: '#9f30cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f30cf;
$custom-light: #c075df;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30cf",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 281.887,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.23373,
    "h": 313
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#9F30CF
secondary
#9FD18A
accent
#E54274
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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