#9F2BC2#9F2BC2

#9F2BC2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.227 H 316.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F2BC2
RGBrgb(159, 43, 194)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18%, 77.8%, 0%, 23.9%)
CIE-LABlab(42.76, 66.67, -55.25)
CIE-LCHlch(42.76, 86.59, 320.35°)
OKLaboklab(53.63% 0.1657 -0.1557)
OKLCHoklch(53.63% 0.227 316.8)
XYZxyz(24.8981, 12.9948, 52.2252)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BC2 #4EC22B
analogous
#542BC2 #9F2BC2 #C22B9A
triadic
#9F2BC2 #C29F2B #2BC29F
tetradic
#9F2BC2 #C2542B #4EC22B #2B9AC2
square
#9F2BC2 #C2542B #4EC22B #2B9AC2
split-complementary
#9F2BC2 #9AC22B #2BC254
monochromatic
#4D155E #762090 #9F2BC2 #B952D9 #CD84E4

Accessibility & contrast

On white

5.84
#9F2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9F2BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BC2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BC2#FFFFFF#000000##FFFFFF
##9F2BC21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#9D4D76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2bc2;
/* rgb */ color: rgb(159, 43, 194);
/* oklch */ color: oklch(53.6% 0.227 316.8);
Tailwind
colors: {
  custom: {
    50: '#c072d5',
    500: '#9f2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bc2;
$custom-light: #c072d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bc2",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 286.093,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.22736,
    "h": 316.8
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#9F2BC2
secondary
#8FCD7C
accent
#E74167
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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