#9F46B2#9F46B2

#9F46B2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.180 H 320.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F46B2
RGBrgb(159, 70, 178)
HSLhsl(289, 44%, 49%)
HSVhsv(289, 61%, 70%)
CMYKcmyk(10.7%, 60.7%, 0%, 30.2%)
CIE-LABlab(45.59, 52.84, -41.35)
CIE-LCHlch(45.59, 67.10, 321.96°)
OKLaboklab(55.35% 0.1385 -0.1152)
OKLCHoklch(55.35% 0.18 320.2)
XYZxyz(24.5231, 14.9667, 43.7080)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46B2 #59B246
analogous
#6946B2 #9F46B2 #B2468F
triadic
#9F46B2 #B29F46 #46B29F
tetradic
#9F46B2 #B26946 #59B246 #468FB2
square
#9F46B2 #B26946 #59B246 #468FB2
split-complementary
#9F46B2 #8FB246 #46B269
monochromatic
#51235A #783586 #9F46B2 #B76FC6 #CD9BD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F46B2#FFFFFF#000000##FFFFFF
##9F46B21.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)
#2D66B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#A05775
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f46b2;
/* rgb */ color: rgb(159, 70, 178);
/* oklch */ color: oklch(55.3% 0.180 320.2);
Tailwind
colors: {
  custom: {
    50: '#be7fc9',
    500: '#9f46b2',
    950: '#000000',
  },
}
SCSS
$custom: #9f46b2;
$custom-light: #be7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46b2",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 289.444,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.18013,
    "h": 320.2
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#9F46B2
secondary
#99C490
accent
#D3556B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9F46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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