#9F2395#9F2395

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

Color values

HEX#9F2395
RGBrgb(159, 35, 149)
HSLhsl(305, 64%, 38%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 78%, 6.3%, 37.6%)
CIE-LABlab(39.15, 61.29, -34.23)
CIE-LCHlch(39.15, 70.20, 330.81°)
OKLaboklab(50.19% 0.1756 -0.0943)
OKLCHoklch(50.19% 0.199 331.8)
XYZxyz(20.3240, 10.7446, 29.4314)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2395 #239F2D
analogous
#6B239F #9F2395 #9F2357
triadic
#9F2395 #959F23 #23959F
tetradic
#9F2395 #9F6B23 #239F2D #23579F
square
#9F2395 #9F6B23 #239F2D #23579F
split-complementary
#9F2395 #579F23 #239F6B
monochromatic
#3B0D37 #6D1866 #9F2395 #D12EC4 #DC60D2

Accessibility & contrast

On white

6.67
#9F2395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2395
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2395#FFFFFF#000000##FFFFFF
##9F23951.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#4D6292
Tritanopia (blue-blind)
#A6335B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2395;
/* rgb */ color: rgb(159, 35, 149);
/* oklch */ color: oklch(50.2% 0.199 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6db4',
    500: '#9f2395',
    950: '#000000',
  },
}
SCSS
$custom: #9f2395;
$custom-light: #bf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2395",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 304.839,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.19931,
    "h": 331.8
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#9F2395
secondary
#5DC165
accent
#E74E41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2395

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

Preview Lab → · Contrast checker → · Palette generator →

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