#9140CE#9140CE

#9140CE is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.211 H 306.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9140CE
RGBrgb(145, 64, 206)
HSLhsl(274, 59%, 53%)
HSVhsv(274, 69%, 81%)
CMYKcmyk(29.6%, 68.9%, 0%, 19.2%)
CIE-LABlab(44.44, 58.35, -59.59)
CIE-LCHlch(44.44, 83.40, 314.39°)
OKLaboklab(54.68% 0.1264 -0.169)
OKLCHoklch(54.68% 0.211 306.8)
XYZxyz(24.6486, 14.1430, 59.8119)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140CE #7DCE40
analogous
#4A40CE #9140CE #CE40C4
triadic
#9140CE #CE9140 #40CE91
tetradic
#9140CE #CE4A40 #7DCE40 #40C4CE
square
#9140CE #CE4A40 #7DCE40 #40C4CE
split-complementary
#9140CE #C4CE40 #40CE4A
monochromatic
#501E75 #712BA6 #9140CE #AD71DA #C9A1E7

Accessibility & contrast

On white

5.49
#9140CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9140CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140CE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140CE#FFFFFF#000000##FFFFFF
##9140CE1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#156ACB
Tritanopia (blue-blind)
#876082
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9140ce;
/* rgb */ color: rgb(145, 64, 206);
/* oklch */ color: oklch(54.7% 0.211 306.8);
Tailwind
colors: {
  custom: {
    50: '#b67bde',
    500: '#9140ce',
    950: '#000000',
  },
}
SCSS
$custom: #9140ce;
$custom-light: #b67bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9140ce",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 274.225,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.21106,
    "h": 306.8
  },
  "luminance": 0.14143
}

Semantic roles & 50–950 ramp

primary
#9140CE
secondary
#B1D496
accent
#E24589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140CE

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

Preview Lab → · Contrast checker → · Palette generator →

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