#9049C2#9049C2

#9049C2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.186 H 308.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9049C2
RGBrgb(144, 73, 194)
HSLhsl(275, 50%, 52%)
HSVhsv(275, 62%, 76%)
CMYKcmyk(25.8%, 62.4%, 0%, 23.9%)
CIE-LABlab(45.07, 51.13, -51.64)
CIE-LCHlch(45.07, 72.67, 314.72°)
OKLaboklab(54.85% 0.1159 -0.1458)
OKLCHoklch(54.85% 0.186 308.5)
XYZxyz(23.6198, 14.5898, 52.6003)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9049C2 #7BC249
analogous
#5449C2 #9049C2 #C249B7
triadic
#9049C2 #C29049 #49C290
tetradic
#9049C2 #C25449 #7BC249 #49B7C2
square
#9049C2 #C25449 #7BC249 #49B7C2
split-complementary
#9049C2 #B7C249 #49C254
monochromatic
#4F246C #70349A #9049C2 #AC77D1 #C8A5E1

Accessibility & contrast

On white

5.36
#9049C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9049C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9049C2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9049C2#FFFFFF#000000##FFFFFF
##9049C21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0768C6
Deuteranopia (green-blind)
#366CBF
Tritanopia (blue-blind)
#89617F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9049c2;
/* rgb */ color: rgb(144, 73, 194);
/* oklch */ color: oklch(54.9% 0.186 308.5);
Tailwind
colors: {
  custom: {
    50: '#b480d5',
    500: '#9049c2',
    950: '#000000',
  },
}
SCSS
$custom: #9049c2;
$custom-light: #b480d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9049c2",
  "rgb": {
    "r": 144,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 275.207,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.18625,
    "h": 308.5
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#9049C2
secondary
#AFCE99
accent
#D94E88
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9049C2

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

Preview Lab → · Contrast checker → · Palette generator →

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