#9F25CA#9F25CA

#9F25CA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.8% C 0.239 H 314.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9F25CA
RGBrgb(159, 37, 202)
HSLhsl(284, 69%, 47%)
HSVhsv(284, 82%, 79%)
CMYKcmyk(21.3%, 81.7%, 0%, 20.8%)
CIE-LABlab(42.70, 69.95, -60.00)
CIE-LCHlch(42.70, 92.16, 319.38°)
OKLaboklab(53.77% 0.1687 -0.1696)
OKLCHoklch(53.77% 0.239 314.9)
XYZxyz(25.6185, 12.9593, 57.0176)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F25CA #50CA25
analogous
#4D25CA #9F25CA #CA25A3
triadic
#9F25CA #CA9F25 #25CA9F
tetradic
#9F25CA #CA4D25 #50CA25 #25A3CA
square
#9F25CA #CA4D25 #50CA25 #25A3CA
split-complementary
#9F25CA #A3CA25 #25CA4D
monochromatic
#4E1263 #761C96 #9F25CA #B94EDF #CD81E8

Accessibility & contrast

On white

5.85
#9F25CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9F25CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F25CA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F25CA#FFFFFF#000000##FFFFFF
##9F25CA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#1768C7
Tritanopia (blue-blind)
#9B4F7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f25ca;
/* rgb */ color: rgb(159, 37, 202);
/* oklch */ color: oklch(53.8% 0.239 314.9);
Tailwind
colors: {
  custom: {
    50: '#c070db',
    500: '#9f25ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f25ca;
$custom-light: #c070db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f25ca",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 202
  },
  "hsl": {
    "h": 284.364,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.2392,
    "h": 314.9
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#9F25CA
secondary
#91D17A
accent
#EC3C6A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F25CA

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

Preview Lab → · Contrast checker → · Palette generator →

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