#9F3DCA#9F3DCA

#9F3DCA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.215 H 313.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F3DCA
RGBrgb(159, 61, 202)
HSLhsl(282, 57%, 52%)
HSVhsv(282, 70%, 79%)
CMYKcmyk(21.3%, 69.8%, 0%, 20.8%)
CIE-LABlab(45.60, 61.65, -55.32)
CIE-LCHlch(45.60, 82.83, 318.10°)
OKLaboklab(55.82% 0.148 -0.156)
OKLCHoklch(55.82% 0.215 313.5)
XYZxyz(26.6256, 14.9735, 57.3533)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DCA #68CA3D
analogous
#593DCA #9F3DCA #CA3DAF
triadic
#9F3DCA #CA9F3D #3DCA9F
tetradic
#9F3DCA #CA593D #68CA3D #3DAFCA
square
#9F3DCA #CA593D #68CA3D #3DAFCA
split-complementary
#9F3DCA #AFCA3D #3DCA59
monochromatic
#561E6E #7B2B9F #9F3DCA #B76DD7 #CF9DE4

Accessibility & contrast

On white

5.26
#9F3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9F3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DCA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DCA#FFFFFF#000000##FFFFFF
##9F3DCA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#9B5B7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3dca;
/* rgb */ color: rgb(159, 61, 202);
/* oklch */ color: oklch(55.8% 0.215 313.5);
Tailwind
colors: {
  custom: {
    50: '#bf7bdb',
    500: '#9f3dca',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dca;
$custom-light: #bf7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dca",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 281.702,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.21505,
    "h": 313.5
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#9F3DCA
secondary
#A5D092
accent
#E04776
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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