#9B46CF#9B46CF

#9B46CF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.207 H 309.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9B46CF
RGBrgb(155, 70, 207)
HSLhsl(277, 59%, 54%)
HSVhsv(277, 66%, 81%)
CMYKcmyk(25.1%, 66.2%, 0%, 18.8%)
CIE-LABlab(46.78, 57.94, -56.32)
CIE-LCHlch(46.78, 80.80, 315.81°)
OKLaboklab(56.66% 0.1329 -0.1591)
OKLCHoklch(56.66% 0.207 309.9)
XYZxyz(26.9680, 15.8544, 60.6589)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46CF #7ACF46
analogous
#5746CF #9B46CF #CF46BF
triadic
#9B46CF #CF9B46 #46CF9B
tetradic
#9B46CF #CF5746 #7ACF46 #46BFCF
square
#9B46CF #CF5746 #7ACF46 #46BFCF
split-complementary
#9B46CF #BFCF46 #46CF57
monochromatic
#58207B #7B2CAB #9B46CF #B577DC #D0A7E8

Accessibility & contrast

On white

5.04
#9B46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9B46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46CF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46CF#FFFFFF#000000##FFFFFF
##9B46CF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#946285
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b46cf;
/* rgb */ color: rgb(155, 70, 207);
/* oklch */ color: oklch(56.7% 0.207 309.9);
Tailwind
colors: {
  custom: {
    50: '#bd7fde',
    500: '#9b46cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b46cf;
$custom-light: #bd7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46cf",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 277.226,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.2073,
    "h": 309.9
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#9B46CF
secondary
#B1D59B
accent
#E24681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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