#9F2698#9F2698

#9F2698 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.199 H 330.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9F2698
RGBrgb(159, 38, 152)
HSLhsl(303, 61%, 39%)
HSVhsv(303, 76%, 62%)
CMYKcmyk(0%, 76.1%, 4.4%, 37.6%)
CIE-LABlab(39.62, 60.87, -35.30)
CIE-LCHlch(39.62, 70.36, 329.89°)
OKLaboklab(50.58% 0.1731 -0.0974)
OKLCHoklch(50.58% 0.199 330.6)
XYZxyz(20.6586, 11.0258, 30.7398)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2698 #269F2D
analogous
#69269F #9F2698 #9F265B
triadic
#9F2698 #989F26 #26989F
tetradic
#9F2698 #9F6926 #269F2D #265B9F
square
#9F2698 #9F6926 #269F2D #265B9F
split-complementary
#9F2698 #5B9F26 #269F69
monochromatic
#3C0E3A #6E1A69 #9F2698 #CE34C5 #DA65D3

Accessibility & contrast

On white

6.55
#9F2698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F2698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2698
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2698#FFFFFF#000000##FFFFFF
##9F26981.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A5365D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2698;
/* rgb */ color: rgb(159, 38, 152);
/* oklch */ color: oklch(50.6% 0.199 330.6);
Tailwind
colors: {
  custom: {
    50: '#bf6eb7',
    500: '#9f2698',
    950: '#000000',
  },
}
SCSS
$custom: #9f2698;
$custom-light: #bf6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2698",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 303.471,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.19859,
    "h": 330.6
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#9F2698
secondary
#61C066
accent
#E54D43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2698

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

Preview Lab → · Contrast checker → · Palette generator →

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