#9F2BC0#9F2BC0

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

Color values

HEX#9F2BC0
RGBrgb(159, 43, 192)
HSLhsl(287, 63%, 46%)
HSVhsv(287, 78%, 75%)
CMYKcmyk(17.2%, 77.6%, 0%, 24.7%)
CIE-LABlab(42.62, 66.29, -54.30)
CIE-LCHlch(42.62, 85.69, 320.68°)
OKLaboklab(53.5% 0.166 -0.1529)
OKLCHoklch(53.5% 0.226 317.3)
XYZxyz(24.6750, 12.9055, 51.0502)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BC0 #4CC02B
analogous
#542BC0 #9F2BC0 #C02B96
triadic
#9F2BC0 #C09F2B #2BC09F
tetradic
#9F2BC0 #C0542B #4CC02B #2B96C0
square
#9F2BC0 #C0542B #4CC02B #2B96C0
split-complementary
#9F2BC0 #96C02B #2BC054
monochromatic
#4C155C #76208E #9F2BC0 #BA50D8 #CE82E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2BC0#FFFFFF#000000##FFFFFF
##9F2BC01.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)
#005EC4
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#9D4C75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2bc0;
/* rgb */ color: rgb(159, 43, 192);
/* oklch */ color: oklch(53.5% 0.226 317.3);
Tailwind
colors: {
  custom: {
    50: '#c072d4',
    500: '#9f2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bc0;
$custom-light: #c072d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bc0",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 286.711,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.22568,
    "h": 317.3
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#9F2BC0
secondary
#8DCC7B
accent
#E64166
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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