#9E2698#9E2698

#9E2698 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 330.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9E2698
RGBrgb(158, 38, 152)
HSLhsl(303, 61%, 38%)
HSVhsv(303, 76%, 62%)
CMYKcmyk(0%, 75.9%, 3.8%, 38%)
CIE-LABlab(39.45, 60.65, -35.58)
CIE-LCHlch(39.45, 70.31, 329.60°)
OKLaboklab(50.43% 0.172 -0.0982)
OKLCHoklch(50.43% 0.198 330.3)
XYZxyz(20.4611, 10.9239, 30.7306)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2698 #269E2C
analogous
#68269E #9E2698 #9E265C
triadic
#9E2698 #989E26 #26989E
tetradic
#9E2698 #9E6826 #269E2C #265C9E
square
#9E2698 #9E6826 #269E2C #265C9E
split-complementary
#9E2698 #5C9E26 #269E68
monochromatic
#3B0E39 #6D1A69 #9E2698 #CE33C6 #DA65D4

Accessibility & contrast

On white

6.59
#9E2698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9E2698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2698
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2698#FFFFFF#000000##FFFFFF
##9E26981.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539B
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#A4375D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2698;
/* rgb */ color: rgb(158, 38, 152);
/* oklch */ color: oklch(50.4% 0.198 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6eb7',
    500: '#9e2698',
    950: '#000000',
  },
}
SCSS
$custom: #9e2698;
$custom-light: #be6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2698",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 303,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.19809,
    "h": 330.3
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#9E2698
secondary
#60C065
accent
#E44C43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2698

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

Preview Lab → · Contrast checker → · Palette generator →

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