#9B46DF#9B46DF

#9B46DF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.223 H 305.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9B46DF
RGBrgb(155, 70, 223)
HSLhsl(273, 71%, 57%)
HSVhsv(273, 69%, 87%)
CMYKcmyk(30.5%, 68.6%, 0%, 12.5%)
CIE-LABlab(47.85, 61.48, -63.74)
CIE-LCHlch(47.85, 88.56, 313.97°)
OKLaboklab(57.76% 0.1312 -0.1809)
OKLCHoklch(57.76% 0.223 305.9)
XYZxyz(29.0241, 16.6768, 71.4877)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B46DF #8ADF46
analogous
#4E46DF #9B46DF #DF46D7
triadic
#9B46DF #DF9B46 #46DF9B
tetradic
#9B46DF #DF4E46 #8ADF46 #46D7DF
square
#9B46DF #DF4E46 #8ADF46 #46D7DF
split-complementary
#9B46DF #D7DF46 #46DF4E
monochromatic
#5C1991 #7D22C6 #9B46DF #B77AE8 #D3AEF1

Accessibility & contrast

On white

4.84
#9B46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9B46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B46DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B46DF#FFFFFF#000000##FFFFFF
##9B46DF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0F72DC
Tritanopia (blue-blind)
#8F698D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b46df;
/* rgb */ color: rgb(155, 70, 223);
/* oklch */ color: oklch(57.8% 0.223 305.9);
Tailwind
colors: {
  custom: {
    50: '#be80ea',
    500: '#9b46df',
    950: '#000000',
  },
}
SCSS
$custom: #9b46df;
$custom-light: #be80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b46df",
  "rgb": {
    "r": 155,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 273.333,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.22348,
    "h": 305.9
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#9B46DF
secondary
#BDDFA2
accent
#ED3B8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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