#9F268B#9F268B

#9F268B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.189 H 335.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9F268B
RGBrgb(159, 38, 139)
HSLhsl(310, 61%, 39%)
HSVhsv(310, 76%, 62%)
CMYKcmyk(0%, 76.1%, 12.6%, 37.6%)
CIE-LABlab(38.94, 58.86, -28.46)
CIE-LCHlch(38.94, 65.37, 334.20°)
OKLaboklab(49.87% 0.1724 -0.0777)
OKLCHoklch(49.87% 0.189 335.7)
XYZxyz(19.6517, 10.6230, 25.4366)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F268B #269F3A
analogous
#76269F #9F268B #9F264E
triadic
#9F268B #8B9F26 #268B9F
tetradic
#9F268B #9F7626 #269F3A #264E9F
square
#9F268B #9F7626 #269F3A #264E9F
split-complementary
#9F268B #4E9F26 #269F76
monochromatic
#3C0E35 #6E1A60 #9F268B #CE34B5 #DA65C7

Accessibility & contrast

On white

6.72
#9F268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F268B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F268B#FFFFFF#000000##FFFFFF
##9F268B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#A72F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f268b;
/* rgb */ color: rgb(159, 38, 139);
/* oklch */ color: oklch(49.9% 0.189 335.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ead',
    500: '#9f268b',
    950: '#000000',
  },
}
SCSS
$custom: #9f268b;
$custom-light: #bf6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#9f268b",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 309.917,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.1891,
    "h": 335.7
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#9F268B
secondary
#61C071
accent
#E55E43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F268B

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

Preview Lab → · Contrast checker → · Palette generator →

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