#9F2EAC#9F2EAC

#9F2EAC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.206 H 323.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9F2EAC
RGBrgb(159, 46, 172)
HSLhsl(294, 58%, 43%)
HSVhsv(294, 73%, 67%)
CMYKcmyk(7.6%, 73.3%, 0%, 32.5%)
CIE-LABlab(41.70, 61.62, -44.00)
CIE-LCHlch(41.70, 75.72, 324.47°)
OKLaboklab(52.43% 0.1653 -0.1228)
OKLCHoklch(52.43% 0.206 323.4)
XYZxyz(22.7208, 12.3048, 40.2001)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EAC #3BAC2E
analogous
#602EAC #9F2EAC #AC2E7A
triadic
#9F2EAC #AC9F2E #2EAC9F
tetradic
#9F2EAC #AC602E #3BAC2E #2E7AAC
square
#9F2EAC #AC602E #3BAC2E #2E7AAC
split-complementary
#9F2EAC #7AAC2E #2EAC60
monochromatic
#46144B #72217C #9F2EAC #C149CE #D179DB

Accessibility & contrast

On white

6.07
#9F2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9F2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EAC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EAC#FFFFFF#000000##FFFFFF
##9F2EAC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4367A9
Tritanopia (blue-blind)
#A2456B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2eac;
/* rgb */ color: rgb(159, 46, 172);
/* oklch */ color: oklch(52.4% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#bf72c5',
    500: '#9f2eac',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eac;
$custom-light: #bf72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eac",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 293.81,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.20591,
    "h": 323.4
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#9F2EAC
secondary
#7BC372
accent
#E14757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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