#9140CA#9140CA

#9140CA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.207 H 307.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9140CA
RGBrgb(145, 64, 202)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 68%, 79%)
CMYKcmyk(28.2%, 68.3%, 0%, 20.8%)
CIE-LABlab(44.16, 57.45, -57.73)
CIE-LCHlch(44.16, 81.44, 314.86°)
OKLaboklab(54.39% 0.1269 -0.1636)
OKLCHoklch(54.39% 0.207 307.8)
XYZxyz(24.1689, 13.9511, 57.2853)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140CA #79CA40
analogous
#4C40CA #9140CA #CA40BE
triadic
#9140CA #CA9140 #40CA91
tetradic
#9140CA #CA4C40 #79CA40 #40BECA
square
#9140CA #CA4C40 #79CA40 #40BECA
split-complementary
#9140CA #BECA40 #40CA4C
monochromatic
#4F1F70 #702CA0 #9140CA #AD70D7 #C8A0E5

Accessibility & contrast

On white

5.54
#9140CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9140CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140CA#FFFFFF#000000##FFFFFF
##9140CA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#1F69C7
Tritanopia (blue-blind)
#885E80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9140ca;
/* rgb */ color: rgb(145, 64, 202);
/* oklch */ color: oklch(54.4% 0.207 307.8);
Tailwind
colors: {
  custom: {
    50: '#b67bdb',
    500: '#9140ca',
    950: '#000000',
  },
}
SCSS
$custom: #9140ca;
$custom-light: #b67bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9140ca",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 275.217,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54394,
    "c": 0.20699,
    "h": 307.8
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#9140CA
secondary
#AED195
accent
#E04887
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140CA

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

Preview Lab → · Contrast checker → · Palette generator →

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