#9F268E#9F268E

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

Color values

HEX#9F268E
RGBrgb(159, 38, 142)
HSLhsl(308, 61%, 39%)
HSVhsv(308, 76%, 62%)
CMYKcmyk(0%, 76.1%, 10.7%, 37.6%)
CIE-LABlab(39.09, 59.31, -30.05)
CIE-LCHlch(39.09, 66.49, 333.13°)
OKLaboklab(50.03% 0.1726 -0.0823)
OKLCHoklch(50.03% 0.191 334.5)
XYZxyz(19.8739, 10.7119, 26.6069)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F268E #269F37
analogous
#73269F #9F268E #9F2651
triadic
#9F268E #8E9F26 #268E9F
tetradic
#9F268E #9F7326 #269F37 #26519F
square
#9F268E #9F7326 #269F37 #26519F
split-complementary
#9F268E #519F26 #269F73
monochromatic
#3C0E36 #6E1A62 #9F268E #CE34B9 #DA65CA

Accessibility & contrast

On white

6.68
#9F268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F268E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F268E#FFFFFF#000000##FFFFFF
##9F268E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#A73158
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f268e;
/* rgb */ color: rgb(159, 38, 142);
/* oklch */ color: oklch(50.0% 0.191 334.5);
Tailwind
colors: {
  custom: {
    50: '#bf6eaf',
    500: '#9f268e',
    950: '#000000',
  },
}
SCSS
$custom: #9f268e;
$custom-light: #bf6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f268e",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 308.43,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.19124,
    "h": 334.5
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#9F268E
secondary
#61C06E
accent
#E55A43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F268E

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

Preview Lab → · Contrast checker → · Palette generator →

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