#9140CC#9140CC

#9140CC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.209 H 307.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9140CC
RGBrgb(145, 64, 204)
HSLhsl(275, 58%, 53%)
HSVhsv(275, 69%, 80%)
CMYKcmyk(28.9%, 68.6%, 0%, 20%)
CIE-LABlab(44.30, 57.90, -58.66)
CIE-LCHlch(44.30, 82.42, 314.62°)
OKLaboklab(54.54% 0.1266 -0.1663)
OKLCHoklch(54.54% 0.209 307.3)
XYZxyz(24.4072, 14.0465, 58.5405)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140CC #7BCC40
analogous
#4B40CC #9140CC #CC40C1
triadic
#9140CC #CC9140 #40CC91
tetradic
#9140CC #CC4B40 #7BCC40 #40C1CC
square
#9140CC #CC4B40 #7BCC40 #40C1CC
split-complementary
#9140CC #C1CC40 #40CC4B
monochromatic
#4F1F73 #712CA3 #9140CC #AD70D9 #C9A1E6

Accessibility & contrast

On white

5.51
#9140CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9140CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140CC#FFFFFF#000000##FFFFFF
##9140CC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#1A69C9
Tritanopia (blue-blind)
#875F81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9140cc;
/* rgb */ color: rgb(145, 64, 204);
/* oklch */ color: oklch(54.5% 0.209 307.3);
Tailwind
colors: {
  custom: {
    50: '#b67bdc',
    500: '#9140cc',
    950: '#000000',
  },
}
SCSS
$custom: #9140cc;
$custom-light: #b67bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9140cc",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 274.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.20902,
    "h": 307.3
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

primary
#9140CC
secondary
#AFD295
accent
#E14788
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140CC

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

Preview Lab → · Contrast checker → · Palette generator →

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