#9F46CA#9F46CA

#9F46CA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.8% C 0.204 H 312.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9F46CA
RGBrgb(159, 70, 202)
HSLhsl(280, 55%, 53%)
HSVhsv(280, 65%, 79%)
CMYKcmyk(21.3%, 65.3%, 0%, 20.8%)
CIE-LABlab(47.00, 57.75, -53.07)
CIE-LCHlch(47.00, 78.43, 317.42°)
OKLaboklab(56.82% 0.1383 -0.1495)
OKLCHoklch(56.82% 0.204 312.8)
XYZxyz(27.1470, 16.0163, 57.5271)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46CA #71CA46
analogous
#5D46CA #9F46CA #CA46B3
triadic
#9F46CA #CA9F46 #46CA9F
tetradic
#9F46CA #CA5D46 #71CA46 #46B3CA
square
#9F46CA #CA5D46 #71CA46 #46B3CA
split-complementary
#9F46CA #B3CA46 #46CA5D
monochromatic
#592174 #7E2FA4 #9F46CA #B876D8 #D0A5E5

Accessibility & contrast

On white

5.00
#9F46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9F46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46CA#FFFFFF#000000##FFFFFF
##9F46CA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#9A6082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f46ca;
/* rgb */ color: rgb(159, 70, 202);
/* oklch */ color: oklch(56.8% 0.204 312.8);
Tailwind
colors: {
  custom: {
    50: '#bf7fdb',
    500: '#9f46ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f46ca;
$custom-light: #bf7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46ca",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 280.455,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.20362,
    "h": 312.8
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

primary
#9F46CA
secondary
#ACD29A
accent
#DF497A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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