#9047C2#9047C2

#9047C2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.189 H 308.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9047C2
RGBrgb(144, 71, 194)
HSLhsl(276, 50%, 52%)
HSVhsv(276, 63%, 76%)
CMYKcmyk(25.8%, 63.4%, 0%, 23.9%)
CIE-LABlab(44.70, 52.12, -52.22)
CIE-LCHlch(44.70, 73.78, 314.94°)
OKLaboklab(54.59% 0.1183 -0.1475)
OKLCHoklch(54.59% 0.189 308.7)
XYZxyz(23.4905, 14.3312, 52.5572)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9047C2 #79C247
analogous
#5347C2 #9047C2 #C247B6
triadic
#9047C2 #C29047 #47C290
tetradic
#9047C2 #C25347 #79C247 #47B6C2
square
#9047C2 #C25347 #79C247 #47B6C2
split-complementary
#9047C2 #B6C247 #47C253
monochromatic
#4E246B #6F3399 #9047C2 #AC75D1 #C7A3E0

Accessibility & contrast

On white

5.43
#9047C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9047C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9047C2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9047C2#FFFFFF#000000##FFFFFF
##9047C21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#336BBF
Tritanopia (blue-blind)
#89607E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9047c2;
/* rgb */ color: rgb(144, 71, 194);
/* oklch */ color: oklch(54.6% 0.189 308.7);
Tailwind
colors: {
  custom: {
    50: '#b47fd5',
    500: '#9047c2',
    950: '#000000',
  },
}
SCSS
$custom: #9047c2;
$custom-light: #b47fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9047c2",
  "rgb": {
    "r": 144,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 275.61,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.18907,
    "h": 308.7
  },
  "luminance": 0.14331
}

Semantic roles & 50–950 ramp

primary
#9047C2
secondary
#ADCD97
accent
#DA4E87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9047C2

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

Preview Lab → · Contrast checker → · Palette generator →

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