#9046D9#9046D9

#9046D9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.215 H 303.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9046D9
RGBrgb(144, 70, 217)
HSLhsl(270, 66%, 56%)
HSVhsv(270, 68%, 85%)
CMYKcmyk(33.6%, 67.7%, 0%, 14.9%)
CIE-LABlab(46.07, 57.92, -63.27)
CIE-LCHlch(46.07, 85.78, 312.47°)
OKLaboklab(56.06% 0.1174 -0.1799)
OKLCHoklch(56.06% 0.215 303.1)
XYZxyz(26.2132, 15.3194, 67.2081)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9046D9 #8FD946
analogous
#4746D9 #9046D9 #D946D9
triadic
#9046D9 #D99046 #46D990
tetradic
#9046D9 #D94746 #8FD946 #46D9D9
square
#9046D9 #D94746 #8FD946 #46D9D9
split-complementary
#9046D9 #D9D946 #46D947
monochromatic
#531C89 #7126BB #9046D9 #AE79E3 #CDACEE

Accessibility & contrast

On white

5.17
#9046D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9046D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9046D9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9046D9#FFFFFF#000000##FFFFFF
##9046D91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#82688A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9046d9;
/* rgb */ color: rgb(144, 70, 217);
/* oklch */ color: oklch(56.1% 0.215 303.1);
Tailwind
colors: {
  custom: {
    50: '#b67fe6',
    500: '#9046d9',
    950: '#000000',
  },
}
SCSS
$custom: #9046d9;
$custom-light: #b67fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9046d9",
  "rgb": {
    "r": 144,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 270.204,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.21482,
    "h": 303.1
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#9046D9
secondary
#BDDC9F
accent
#E93F93
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9046D9

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

Preview Lab → · Contrast checker → · Palette generator →

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