#9047BA#9047BA

#9047BA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.181 H 311.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9047BA
RGBrgb(144, 71, 186)
HSLhsl(278, 45%, 50%)
HSVhsv(278, 62%, 73%)
CMYKcmyk(22.6%, 61.8%, 0%, 27.1%)
CIE-LABlab(44.21, 50.32, -48.36)
CIE-LCHlch(44.21, 69.79, 316.14°)
OKLaboklab(54.07% 0.1186 -0.1361)
OKLCHoklch(54.07% 0.181 311.1)
XYZxyz(22.6161, 13.9814, 47.9522)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9047BA #71BA47
analogous
#5647BA #9047BA #BA47AB
triadic
#9047BA #BA9047 #47BA90
tetradic
#9047BA #BA5647 #71BA47 #47ABBA
square
#9047BA #BA5647 #71BA47 #47ABBA
split-complementary
#9047BA #ABBA47 #47BA56
monochromatic
#4C2562 #6E358E #9047BA #AB74CB #C6A0DB

Accessibility & contrast

On white

5.53
#9047BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9047BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9047BA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9047BA#FFFFFF#000000##FFFFFF
##9047BA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#8B5D7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9047ba;
/* rgb */ color: rgb(144, 71, 186);
/* oklch */ color: oklch(54.1% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#b47ecf',
    500: '#9047ba',
    950: '#000000',
  },
}
SCSS
$custom: #9047ba;
$custom-light: #b47ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#9047ba",
  "rgb": {
    "r": 144,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 278.087,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.18054,
    "h": 311.1
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#9047BA
secondary
#A7C895
accent
#D55382
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9047BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9047BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva