#9A46C8#9A46C8

#9A46C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.1% C 0.200 H 311.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9A46C8
RGBrgb(154, 70, 200)
HSLhsl(279, 54%, 53%)
HSVhsv(279, 65%, 78%)
CMYKcmyk(23%, 65%, 0%, 21.6%)
CIE-LABlab(46.21, 56.20, -53.22)
CIE-LCHlch(46.21, 77.40, 316.56°)
OKLaboklab(56.07% 0.1321 -0.1501)
OKLCHoklch(56.07% 0.2 311.3)
XYZxyz(25.9400, 15.4211, 56.2425)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A46C8 #74C846
analogous
#5946C8 #9A46C8 #C846B5
triadic
#9A46C8 #C89A46 #46C89A
tetradic
#9A46C8 #C85946 #74C846 #46B5C8
square
#9A46C8 #C85946 #74C846 #46B5C8
split-complementary
#9A46C8 #B5C846 #46C859
monochromatic
#552272 #7930A1 #9A46C8 #B475D6 #CEA4E4

Accessibility & contrast

On white

5.14
#9A46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9A46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A46C8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A46C8#FFFFFF#000000##FFFFFF
##9A46C81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#946081
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a46c8;
/* rgb */ color: rgb(154, 70, 200);
/* oklch */ color: oklch(56.1% 0.200 311.3);
Tailwind
colors: {
  custom: {
    50: '#bb7fd9',
    500: '#9a46c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a46c8;
$custom-light: #bb7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a46c8",
  "rgb": {
    "r": 154,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 278.769,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.19989,
    "h": 311.3
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#9A46C8
secondary
#ADD199
accent
#DE4A7E
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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