#9140DD#9140DD

#9140DD is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.226 H 303.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9140DD
RGBrgb(145, 64, 221)
HSLhsl(271, 70%, 56%)
HSVhsv(271, 71%, 87%)
CMYKcmyk(34.4%, 71%, 0%, 13.3%)
CIE-LABlab(45.51, 61.77, -66.46)
CIE-LCHlch(45.51, 90.73, 312.90°)
OKLaboklab(55.77% 0.1241 -0.1892)
OKLCHoklch(55.77% 0.226 303.3)
XYZxyz(26.5586, 14.9070, 69.8708)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140DD #8CDD40
analogous
#4240DD #9140DD #DD40DB
triadic
#9140DD #DD9140 #40DD91
tetradic
#9140DD #DD4240 #8CDD40 #40DBDD
square
#9140DD #DD4240 #8CDD40 #40DBDD
split-complementary
#9140DD #DBDD40 #40DD42
monochromatic
#53198A #7222BE #9140DD #AF74E6 #CDA8EF

Accessibility & contrast

On white

5.27
#9140DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9140DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140DD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140DD#FFFFFF#000000##FFFFFF
##9140DD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#82668B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9140dd;
/* rgb */ color: rgb(145, 64, 221);
/* oklch */ color: oklch(55.8% 0.226 303.3);
Tailwind
colors: {
  custom: {
    50: '#b77ce9',
    500: '#9140dd',
    950: '#000000',
  },
}
SCSS
$custom: #9140dd;
$custom-light: #b77ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#9140dd",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 270.955,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.2263,
    "h": 303.3
  },
  "luminance": 0.14907
}

Semantic roles & 50–950 ramp

primary
#9140DD
secondary
#BBDD9C
accent
#ED3B91
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9140DD

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

Preview Lab → · Contrast checker → · Palette generator →

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