#9141DD#9141DD

#9141DD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.225 H 303.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9141DD
RGBrgb(145, 65, 221)
HSLhsl(271, 70%, 56%)
HSVhsv(271, 71%, 87%)
CMYKcmyk(34.4%, 70.6%, 0%, 13.3%)
CIE-LABlab(45.66, 61.33, -66.21)
CIE-LCHlch(45.66, 90.25, 312.81°)
OKLaboklab(55.89% 0.1232 -0.1885)
OKLCHoklch(55.89% 0.225 303.2)
XYZxyz(26.6154, 15.0208, 69.8897)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9141DD #8DDD41
analogous
#4341DD #9141DD #DD41DB
triadic
#9141DD #DD9141 #41DD91
tetradic
#9141DD #DD4341 #8DDD41 #41DBDD
square
#9141DD #DD4341 #8DDD41 #41DBDD
split-complementary
#9141DD #DBDD41 #41DD43
monochromatic
#53198B #7222BF #9141DD #AF75E6 #CDA9F0

Accessibility & contrast

On white

5.24
#9141DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9141DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9141DD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9141DD#FFFFFF#000000##FFFFFF
##9141DD1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9141dd;
/* rgb */ color: rgb(145, 65, 221);
/* oklch */ color: oklch(55.9% 0.225 303.2);
Tailwind
colors: {
  custom: {
    50: '#b77ce9',
    500: '#9141dd',
    950: '#000000',
  },
}
SCSS
$custom: #9141dd;
$custom-light: #b77ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#9141dd",
  "rgb": {
    "r": 145,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 270.769,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.22515,
    "h": 303.2
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#9141DD
secondary
#BCDD9D
accent
#EC3B92
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9141DD

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

Preview Lab → · Contrast checker → · Palette generator →

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