#9046DC#9046DC

#9046DC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.218 H 302.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9046DC
RGBrgb(144, 70, 220)
HSLhsl(270, 68%, 57%)
HSVhsv(270, 68%, 86%)
CMYKcmyk(34.5%, 68.2%, 0%, 13.7%)
CIE-LABlab(46.28, 58.63, -64.64)
CIE-LCHlch(46.28, 87.27, 312.21°)
OKLaboklab(56.28% 0.117 -0.1839)
OKLCHoklch(56.28% 0.218 302.5)
XYZxyz(26.6070, 15.4769, 69.2819)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9046DC #92DC46
analogous
#4647DC #9046DC #DB46DC
triadic
#9046DC #DC9046 #46DC90
tetradic
#9046DC #DC4647 #92DC46 #46DCDB
square
#9046DC #DC4647 #92DC46 #46DCDB
split-complementary
#9046DC #DCDB46 #47DC46
monochromatic
#531B8D #7124C0 #9046DC #AF79E6 #CEADEF

Accessibility & contrast

On white

5.13
#9046DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9046DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9046DC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9046DC#FFFFFF#000000##FFFFFF
##9046DC1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#80698C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9046dc;
/* rgb */ color: rgb(144, 70, 220);
/* oklch */ color: oklch(56.3% 0.218 302.5);
Tailwind
colors: {
  custom: {
    50: '#b67fe8',
    500: '#9046dc',
    950: '#000000',
  },
}
SCSS
$custom: #9046dc;
$custom-light: #b67fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9046dc",
  "rgb": {
    "r": 144,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 269.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.21799,
    "h": 302.5
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#9046DC
secondary
#BFDDA0
accent
#EB3D95
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9046DC

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

Preview Lab → · Contrast checker → · Palette generator →

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