#9F46CF#9F46CF

#9F46CF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.209 H 311.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F46CF
RGBrgb(159, 70, 207)
HSLhsl(279, 59%, 54%)
HSVhsv(279, 66%, 81%)
CMYKcmyk(23.2%, 66.2%, 0%, 18.8%)
CIE-LABlab(47.31, 58.81, -55.44)
CIE-LCHlch(47.31, 80.82, 316.69°)
OKLaboklab(57.15% 0.138 -0.1564)
OKLCHoklch(57.15% 0.209 311.4)
XYZxyz(27.7486, 16.2569, 60.6955)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46CF #76CF46
analogous
#5B46CF #9F46CF #CF46BB
triadic
#9F46CF #CF9F46 #46CF9F
tetradic
#9F46CF #CF5B46 #76CF46 #46BBCF
square
#9F46CF #CF5B46 #76CF46 #46BBCF
split-complementary
#9F46CF #BBCF46 #46CF5B
monochromatic
#5B207B #7F2CAB #9F46CF #B877DC #D1A7E8

Accessibility & contrast

On white

4.94
#9F46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9F46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46CF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46CF#FFFFFF#000000##FFFFFF
##9F46CF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#996285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f46cf;
/* rgb */ color: rgb(159, 70, 207);
/* oklch */ color: oklch(57.1% 0.209 311.4);
Tailwind
colors: {
  custom: {
    50: '#bf80de',
    500: '#9f46cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f46cf;
$custom-light: #bf80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46cf",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 278.978,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.20857,
    "h": 311.4
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#9F46CF
secondary
#B0D59B
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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