#9F268F#9F268F

#9F268F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.192 H 334.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9F268F
RGBrgb(159, 38, 143)
HSLhsl(308, 61%, 39%)
HSVhsv(308, 76%, 62%)
CMYKcmyk(0%, 76.1%, 10.1%, 37.6%)
CIE-LABlab(39.14, 59.46, -30.58)
CIE-LCHlch(39.14, 66.86, 332.78°)
OKLaboklab(50.08% 0.1727 -0.0838)
OKLCHoklch(50.08% 0.192 334.1)
XYZxyz(19.9493, 10.7421, 27.0040)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F268F #269F36
analogous
#72269F #9F268F #9F2652
triadic
#9F268F #8F9F26 #268F9F
tetradic
#9F268F #9F7226 #269F36 #26529F
square
#9F268F #9F7226 #269F36 #26529F
split-complementary
#9F268F #529F26 #269F72
monochromatic
#3C0E36 #6E1A63 #9F268F #CE34BA #DA65CB

Accessibility & contrast

On white

6.67
#9F268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F268F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F268F#FFFFFF#000000##FFFFFF
##9F268F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#51628C
Tritanopia (blue-blind)
#A73258
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f268f;
/* rgb */ color: rgb(159, 38, 143);
/* oklch */ color: oklch(50.1% 0.192 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6eb0',
    500: '#9f268f',
    950: '#000000',
  },
}
SCSS
$custom: #9f268f;
$custom-light: #bf6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f268f",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 307.934,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.19196,
    "h": 334.1
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#9F268F
secondary
#61C06D
accent
#E55943
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F268F

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

Preview Lab → · Contrast checker → · Palette generator →

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