#9F2594#9F2594

#9F2594 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.197 H 332.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2594
RGBrgb(159, 37, 148)
HSLhsl(305, 62%, 38%)
HSVhsv(305, 77%, 62%)
CMYKcmyk(0%, 76.7%, 6.9%, 37.6%)
CIE-LABlab(39.30, 60.54, -33.38)
CIE-LCHlch(39.30, 69.14, 331.13°)
OKLaboklab(50.28% 0.1739 -0.0918)
OKLCHoklch(50.28% 0.197 332.2)
XYZxyz(20.3050, 10.8339, 29.0330)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2594 #259F30
analogous
#6D259F #9F2594 #9F2557
triadic
#9F2594 #949F25 #25949F
tetradic
#9F2594 #9F6D25 #259F30 #25579F
square
#9F2594 #9F6D25 #259F30 #25579F
split-complementary
#9F2594 #579F25 #259F6D
monochromatic
#3C0E38 #6D1966 #9F2594 #CF32C1 #DB64D0

Accessibility & contrast

On white

6.63
#9F2594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F2594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2594
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2594#FFFFFF#000000##FFFFFF
##9F25941.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5297
Deuteranopia (green-blind)
#4E6391
Tritanopia (blue-blind)
#A6345B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2594;
/* rgb */ color: rgb(159, 37, 148);
/* oklch */ color: oklch(50.3% 0.197 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf6eb4',
    500: '#9f2594',
    950: '#000000',
  },
}
SCSS
$custom: #9f2594;
$custom-light: #bf6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2594",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 305.41,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.19662,
    "h": 332.2
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#9F2594
secondary
#5FC068
accent
#E55142
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2594

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

Preview Lab → · Contrast checker → · Palette generator →

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