#9140CD#9140CD

#9140CD is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.6% C 0.210 H 307.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9140CD
RGBrgb(145, 64, 205)
HSLhsl(274, 59%, 53%)
HSVhsv(274, 69%, 80%)
CMYKcmyk(29.3%, 68.8%, 0%, 19.6%)
CIE-LABlab(44.37, 58.12, -59.13)
CIE-LCHlch(44.37, 82.91, 314.51°)
OKLaboklab(54.61% 0.1265 -0.1677)
OKLCHoklch(54.61% 0.21 307)
XYZxyz(24.5276, 14.0946, 59.1742)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140CD #7CCD40
analogous
#4A40CD #9140CD #CD40C2
triadic
#9140CD #CD9140 #40CD91
tetradic
#9140CD #CD4A40 #7CCD40 #40C2CD
square
#9140CD #CD4A40 #7CCD40 #40C2CD
split-complementary
#9140CD #C2CD40 #40CD4A
monochromatic
#501E74 #712BA5 #9140CD #AD71DA #C9A1E6

Accessibility & contrast

On white

5.50
#9140CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9140CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140CD#FFFFFF#000000##FFFFFF
##9140CD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#186ACA
Tritanopia (blue-blind)
#875F82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9140cd;
/* rgb */ color: rgb(145, 64, 205);
/* oklch */ color: oklch(54.6% 0.210 307.0);
Tailwind
colors: {
  custom: {
    50: '#b67bdd',
    500: '#9140cd',
    950: '#000000',
  },
}
SCSS
$custom: #9140cd;
$custom-light: #b67bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9140cd",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 274.468,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.21004,
    "h": 307
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#9140CD
secondary
#B0D396
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140CD

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

Preview Lab → · Contrast checker → · Palette generator →

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