#9140DA#9140DA

#9140DA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.223 H 303.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9140DA
RGBrgb(145, 64, 218)
HSLhsl(272, 68%, 55%)
HSVhsv(272, 71%, 85%)
CMYKcmyk(33.5%, 70.6%, 0%, 14.5%)
CIE-LABlab(45.29, 61.08, -65.10)
CIE-LCHlch(45.29, 89.27, 313.17°)
OKLaboklab(55.55% 0.1246 -0.1852)
OKLCHoklch(55.55% 0.223 303.9)
XYZxyz(26.1624, 14.7486, 67.7845)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140DA #89DA40
analogous
#4440DA #9140DA #DA40D6
triadic
#9140DA #DA9140 #40DA91
tetradic
#9140DA #DA4440 #89DA40 #40D6DA
square
#9140DA #DA4440 #89DA40 #40D6DA
split-complementary
#9140DA #D6DA40 #40DA44
monochromatic
#531A86 #7224B9 #9140DA #AF73E4 #CCA7EE

Accessibility & contrast

On white

5.32
#9140DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9140DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140DA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140DA#FFFFFF#000000##FFFFFF
##9140DA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#836589
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9140da;
/* rgb */ color: rgb(145, 64, 218);
/* oklch */ color: oklch(55.5% 0.223 303.9);
Tailwind
colors: {
  custom: {
    50: '#b77be6',
    500: '#9140da',
    950: '#000000',
  },
}
SCSS
$custom: #9140da;
$custom-light: #b77be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9140da",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 271.558,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.22326,
    "h": 303.9
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#9140DA
secondary
#B9DB9B
accent
#EA3D8F
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9140DA

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

Preview Lab → · Contrast checker → · Palette generator →

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