#9046D6#9046D6

#9046D6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.212 H 303.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9046D6
RGBrgb(144, 70, 214)
HSLhsl(271, 64%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(32.7%, 67.3%, 0%, 16.1%)
CIE-LABlab(45.86, 57.22, -61.90)
CIE-LCHlch(45.86, 84.29, 312.75°)
OKLaboklab(55.84% 0.1178 -0.1759)
OKLCHoklch(55.84% 0.212 303.8)
XYZxyz(25.8266, 15.1647, 65.1718)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9046D6 #8CD646
analogous
#4846D6 #9046D6 #D646D4
triadic
#9046D6 #D69046 #46D690
tetradic
#9046D6 #D64846 #8CD646 #46D4D6
square
#9046D6 #D64846 #8CD646 #46D4D6
split-complementary
#9046D6 #D4D646 #46D648
monochromatic
#521D84 #7128B6 #9046D6 #AE78E1 #CCAAEC

Accessibility & contrast

On white

5.21
#9046D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9046D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9046D6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9046D6#FFFFFF#000000##FFFFFF
##9046D61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#066CD3
Tritanopia (blue-blind)
#836788
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9046d6;
/* rgb */ color: rgb(144, 70, 214);
/* oklch */ color: oklch(55.8% 0.212 303.8);
Tailwind
colors: {
  custom: {
    50: '#b67fe3',
    500: '#9046d6',
    950: '#000000',
  },
}
SCSS
$custom: #9046d6;
$custom-light: #b67fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9046d6",
  "rgb": {
    "r": 144,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 270.833,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.21165,
    "h": 303.8
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#9046D6
secondary
#BBDA9E
accent
#E74192
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9046D6

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

Preview Lab → · Contrast checker → · Palette generator →

#9046D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva