#9B46EF#9B46EF

#9B46EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.9% C 0.240 H 302.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9B46EF
RGBrgb(155, 70, 239)
HSLhsl(270, 84%, 61%)
HSVhsv(270, 71%, 94%)
CMYKcmyk(35.1%, 70.7%, 0%, 6.3%)
CIE-LABlab(48.98, 65.12, -70.94)
CIE-LCHlch(48.98, 96.30, 312.55°)
OKLaboklab(58.92% 0.1287 -0.2021)
OKLCHoklch(58.92% 0.24 302.5)
XYZxyz(31.2840, 17.5808, 83.3899)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46EF #9AEF46
analogous
#4646EF #9B46EF #EF46EE
triadic
#9B46EF #EF9B46 #46EF9B
tetradic
#9B46EF #EF4646 #9AEF46 #46EEEF
square
#9B46EF #EF4646 #9AEF46 #46EEEF
split-complementary
#9B46EF #EEEF46 #46EF46
monochromatic
#5E0FAC #7D14E4 #9B46EF #B97EF4 #D8B7F9

Accessibility & contrast

On white

4.65
#9B46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9B46EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46EF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46EF#FFFFFF#000000##FFFFFF
##9B46EF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#8A6F96
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b46ef;
/* rgb */ color: rgb(155, 70, 239);
/* oklch */ color: oklch(58.9% 0.240 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf80f5',
    500: '#9b46ef',
    950: '#000000',
  },
}
SCSS
$custom: #9b46ef;
$custom-light: #bf80f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46ef",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 270.178,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.23962,
    "h": 302.5
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#9B46EF
secondary
#C8E9A8
accent
#E10572
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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