#9046D7#9046D7

#9046D7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.213 H 303.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9046D7
RGBrgb(144, 70, 215)
HSLhsl(271, 64%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(33%, 67.4%, 0%, 15.7%)
CIE-LABlab(45.93, 57.45, -62.36)
CIE-LCHlch(45.93, 84.79, 312.66°)
OKLaboklab(55.91% 0.1176 -0.1772)
OKLCHoklch(55.91% 0.213 303.6)
XYZxyz(25.9547, 15.2159, 65.8464)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9046D7 #8DD746
analogous
#4746D7 #9046D7 #D746D5
triadic
#9046D7 #D79046 #46D790
tetradic
#9046D7 #D74746 #8DD746 #46D5D7
square
#9046D7 #D74746 #8DD746 #46D5D7
split-complementary
#9046D7 #D5D746 #46D747
monochromatic
#521D86 #7128B8 #9046D7 #AE78E2 #CCABED

Accessibility & contrast

On white

5.19
#9046D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9046D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9046D7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9046D7#FFFFFF#000000##FFFFFF
##9046D71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#016DD4
Tritanopia (blue-blind)
#826789
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9046d7;
/* rgb */ color: rgb(144, 70, 215);
/* oklch */ color: oklch(55.9% 0.213 303.6);
Tailwind
colors: {
  custom: {
    50: '#b67fe4',
    500: '#9046d7',
    950: '#000000',
  },
}
SCSS
$custom: #9046d7;
$custom-light: #b67fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9046d7",
  "rgb": {
    "r": 144,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 270.621,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.21271,
    "h": 303.6
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#9046D7
secondary
#BCDA9E
accent
#E74092
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9046D7

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

Preview Lab → · Contrast checker → · Palette generator →

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