#9A46D9#9A46D9

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

Color values

HEX#9A46D9
RGBrgb(154, 70, 217)
HSLhsl(274, 66%, 56%)
HSVhsv(274, 68%, 85%)
CMYKcmyk(29%, 67.7%, 0%, 14.9%)
CIE-LABlab(47.31, 59.94, -61.20)
CIE-LCHlch(47.31, 85.66, 314.40°)
OKLaboklab(57.22% 0.1306 -0.1735)
OKLCHoklch(57.22% 0.217 307)
XYZxyz(28.0383, 16.2604, 67.2937)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46D9 #85D946
analogous
#5146D9 #9A46D9 #D946CE
triadic
#9A46D9 #D99A46 #46D99A
tetradic
#9A46D9 #D95146 #85D946 #46CED9
square
#9A46D9 #D95146 #85D946 #46CED9
split-complementary
#9A46D9 #CED946 #46D951
monochromatic
#5A1C89 #7C26BB #9A46D9 #B679E3 #D1ACEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A46D9#FFFFFF#000000##FFFFFF
##9A46D91.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)
#006DDD
Deuteranopia (green-blind)
#1E71D6
Tritanopia (blue-blind)
#90668A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a46d9;
/* rgb */ color: rgb(154, 70, 217);
/* oklch */ color: oklch(57.2% 0.217 307.0);
Tailwind
colors: {
  custom: {
    50: '#bc7fe6',
    500: '#9a46d9',
    950: '#000000',
  },
}
SCSS
$custom: #9a46d9;
$custom-light: #bc7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46d9",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 274.286,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57219,
    "c": 0.21715,
    "h": 307
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#9A46D9
secondary
#B9DC9F
accent
#E93F88
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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