#9F2EBA#9F2EBA

#9F2EBA is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.218 H 319.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9F2EBA
RGBrgb(159, 46, 186)
HSLhsl(288, 60%, 45%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(14.5%, 75.3%, 0%, 27.1%)
CIE-LABlab(42.57, 64.18, -50.87)
CIE-LCHlch(42.57, 81.89, 321.60°)
OKLaboklab(53.33% 0.1642 -0.1429)
OKLCHoklch(53.33% 0.218 319)
XYZxyz(24.1368, 12.8713, 47.6579)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EBA #49BA2E
analogous
#592EBA #9F2EBA #BA2E8F
triadic
#9F2EBA #BA9F2E #2EBA9F
tetradic
#9F2EBA #BA592E #49BA2E #2E8FBA
square
#9F2EBA #BA592E #49BA2E #2E8FBA
split-complementary
#9F2EBA #8FBA2E #2EBA59
monochromatic
#4B1658 #752289 #9F2EBA #BB51D4 #CE82E0

Accessibility & contrast

On white

5.88
#9F2EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9F2EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EBA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EBA#FFFFFF#000000##FFFFFF
##9F2EBA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3868B7
Tritanopia (blue-blind)
#9F4B72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2eba;
/* rgb */ color: rgb(159, 46, 186);
/* oklch */ color: oklch(53.3% 0.218 319.0);
Tailwind
colors: {
  custom: {
    50: '#bf73cf',
    500: '#9f2eba',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eba;
$custom-light: #bf73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eba",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 288.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.21765,
    "h": 319
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#9F2EBA
secondary
#8AC97B
accent
#E34463
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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