#9F2495#9F2495

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

Color values

HEX#9F2495
RGBrgb(159, 36, 149)
HSLhsl(305, 63%, 38%)
HSVhsv(305, 77%, 62%)
CMYKcmyk(0%, 77.4%, 6.3%, 37.6%)
CIE-LABlab(39.25, 61.00, -34.07)
CIE-LCHlch(39.25, 69.87, 330.81°)
OKLaboklab(50.26% 0.1748 -0.0938)
OKLCHoklch(50.26% 0.198 331.8)
XYZxyz(20.3538, 10.8043, 29.4414)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2495 #249F2E
analogous
#6B249F #9F2495 #9F2457
triadic
#9F2495 #959F24 #24959F
tetradic
#9F2495 #9F6B24 #249F2E #24579F
square
#9F2495 #9F6B24 #249F2E #24579F
split-complementary
#9F2495 #579F24 #249F6B
monochromatic
#3B0D37 #6D1966 #9F2495 #D030C3 #DB62D2

Accessibility & contrast

On white

6.64
#9F2495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2495
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2495#FFFFFF#000000##FFFFFF
##9F24951.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2495;
/* rgb */ color: rgb(159, 36, 149);
/* oklch */ color: oklch(50.3% 0.198 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6db4',
    500: '#9f2495',
    950: '#000000',
  },
}
SCSS
$custom: #9f2495;
$custom-light: #bf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2495",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 304.878,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.19835,
    "h": 331.8
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#9F2495
secondary
#5EC166
accent
#E64F42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2495

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

Preview Lab → · Contrast checker → · Palette generator →

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