#9F2394#9F2394

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

Color values

HEX#9F2394
RGBrgb(159, 35, 148)
HSLhsl(305, 64%, 38%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 78%, 6.9%, 37.6%)
CIE-LABlab(39.09, 61.13, -33.71)
CIE-LCHlch(39.09, 69.81, 331.13°)
OKLaboklab(50.13% 0.1756 -0.0928)
OKLCHoklch(50.13% 0.199 332.1)
XYZxyz(20.2445, 10.7128, 29.0128)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2394 #239F2E
analogous
#6C239F #9F2394 #9F2356
triadic
#9F2394 #949F23 #23949F
tetradic
#9F2394 #9F6C23 #239F2E #23569F
square
#9F2394 #9F6C23 #239F2E #23569F
split-complementary
#9F2394 #569F23 #239F6C
monochromatic
#3B0D37 #6D1865 #9F2394 #D12EC3 #DC60D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2394#FFFFFF#000000##FFFFFF
##9F23941.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)
#195197
Deuteranopia (green-blind)
#4D6291
Tritanopia (blue-blind)
#A6325A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2394;
/* rgb */ color: rgb(159, 35, 148);
/* oklch */ color: oklch(50.1% 0.199 332.1);
Tailwind
colors: {
  custom: {
    50: '#bf6db4',
    500: '#9f2394',
    950: '#000000',
  },
}
SCSS
$custom: #9f2394;
$custom-light: #bf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2394",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 305.323,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.19859,
    "h": 332.1
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#9F2394
secondary
#5DC166
accent
#E75041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2394

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

Preview Lab → · Contrast checker → · Palette generator →

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