#9140C8#9140C8

#9140C8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.205 H 308.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9140C8
RGBrgb(145, 64, 200)
HSLhsl(276, 55%, 52%)
HSVhsv(276, 68%, 78%)
CMYKcmyk(27.5%, 68%, 0%, 21.6%)
CIE-LABlab(44.03, 57.00, -56.79)
CIE-LCHlch(44.03, 80.46, 315.11°)
OKLaboklab(54.25% 0.1271 -0.1608)
OKLCHoklch(54.25% 0.205 308.3)
XYZxyz(23.9336, 13.8570, 56.0462)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140C8 #77C840
analogous
#4D40C8 #9140C8 #C840BB
triadic
#9140C8 #C89140 #40C891
tetradic
#9140C8 #C84D40 #77C840 #40BBC8
square
#9140C8 #C84D40 #77C840 #40BBC8
split-complementary
#9140C8 #BBC840 #40C84D
monochromatic
#4E206E #702D9D #9140C8 #AC70D6 #C89FE3

Accessibility & contrast

On white

5.57
#9140C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9140C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140C8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140C8#FFFFFF#000000##FFFFFF
##9140C81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#895E7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9140c8;
/* rgb */ color: rgb(145, 64, 200);
/* oklch */ color: oklch(54.3% 0.205 308.3);
Tailwind
colors: {
  custom: {
    50: '#b67bd9',
    500: '#9140c8',
    950: '#000000',
  },
}
SCSS
$custom: #9140c8;
$custom-light: #b67bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9140c8",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 275.735,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.20496,
    "h": 308.3
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#9140C8
secondary
#ACD094
accent
#DF4986
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140C8

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

Preview Lab → · Contrast checker → · Palette generator →

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