#9F268D#9F268D

#9F268D is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.191 H 334.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F268D
RGBrgb(159, 38, 141)
HSLhsl(309, 61%, 39%)
HSVhsv(309, 76%, 62%)
CMYKcmyk(0%, 76.1%, 11.3%, 37.6%)
CIE-LABlab(39.04, 59.16, -29.52)
CIE-LCHlch(39.04, 66.11, 333.48°)
OKLaboklab(49.97% 0.1726 -0.0807)
OKLCHoklch(49.97% 0.191 334.9)
XYZxyz(19.7992, 10.6820, 26.2132)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F268D #269F38
analogous
#74269F #9F268D #9F2650
triadic
#9F268D #8D9F26 #268D9F
tetradic
#9F268D #9F7426 #269F38 #26509F
square
#9F268D #9F7426 #269F38 #26509F
split-complementary
#9F268D #509F26 #269F74
monochromatic
#3C0E35 #6E1A61 #9F268D #CE34B7 #DA65C9

Accessibility & contrast

On white

6.70
#9F268D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F268D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F268D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F268D#FFFFFF#000000##FFFFFF
##9F268D1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255190
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A73157
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f268d;
/* rgb */ color: rgb(159, 38, 141);
/* oklch */ color: oklch(50.0% 0.191 334.9);
Tailwind
colors: {
  custom: {
    50: '#bf6eae',
    500: '#9f268d',
    950: '#000000',
  },
}
SCSS
$custom: #9f268d;
$custom-light: #bf6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f268d",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 308.926,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.19052,
    "h": 334.9
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#9F268D
secondary
#61C06F
accent
#E55B43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F268D

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

Preview Lab → · Contrast checker → · Palette generator →

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