#9140C6#9140C6

#9140C6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.203 H 308.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9140C6
RGBrgb(145, 64, 198)
HSLhsl(276, 54%, 51%)
HSVhsv(276, 68%, 78%)
CMYKcmyk(26.8%, 67.7%, 0%, 22.4%)
CIE-LABlab(43.89, 56.55, -55.85)
CIE-LCHlch(43.89, 79.48, 315.36°)
OKLaboklab(54.12% 0.1273 -0.158)
OKLCHoklch(54.12% 0.203 308.9)
XYZxyz(23.7014, 13.7642, 54.8233)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140C6 #75C640
analogous
#4E40C6 #9140C6 #C640B8
triadic
#9140C6 #C69140 #40C691
tetradic
#9140C6 #C64E40 #75C640 #40B8C6
square
#9140C6 #C64E40 #75C640 #40B8C6
split-complementary
#9140C6 #B8C640 #40C64E
monochromatic
#4E206C #702E9B #9140C6 #AC6FD4 #C79EE2

Accessibility & contrast

On white

5.60
#9140C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9140C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140C6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140C6#FFFFFF#000000##FFFFFF
##9140C61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#2669C3
Tritanopia (blue-blind)
#895D7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9140c6;
/* rgb */ color: rgb(145, 64, 198);
/* oklch */ color: oklch(54.1% 0.203 308.9);
Tailwind
colors: {
  custom: {
    50: '#b57bd8',
    500: '#9140c6',
    950: '#000000',
  },
}
SCSS
$custom: #9140c6;
$custom-light: #b57bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9140c6",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 276.269,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.20292,
    "h": 308.9
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#9140C6
secondary
#ABCE93
accent
#DD4A85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140C6

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

Preview Lab → · Contrast checker → · Palette generator →

#9140C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva