#9141DC#9141DC

#9141DC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.224 H 303.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9141DC
RGBrgb(145, 65, 220)
HSLhsl(271, 69%, 56%)
HSVhsv(271, 70%, 86%)
CMYKcmyk(34.1%, 70.5%, 0%, 13.7%)
CIE-LABlab(45.59, 61.10, -65.76)
CIE-LCHlch(45.59, 89.76, 312.90°)
OKLaboklab(55.81% 0.1233 -0.1872)
OKLCHoklch(55.81% 0.224 303.4)
XYZxyz(26.4826, 14.9677, 69.1901)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9141DC #8CDC41
analogous
#4341DC #9141DC #DC41D9
triadic
#9141DC #DC9141 #41DC91
tetradic
#9141DC #DC4341 #8CDC41 #41D9DC
square
#9141DC #DC4341 #8CDC41 #41D9DC
split-complementary
#9141DC #D9DC41 #41DC43
monochromatic
#531989 #7223BD #9141DC #AF75E6 #CDA8EF

Accessibility & contrast

On white

5.26
#9141DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9141DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9141DC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9141DC#FFFFFF#000000##FFFFFF
##9141DC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#82668A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9141dc;
/* rgb */ color: rgb(145, 65, 220);
/* oklch */ color: oklch(55.8% 0.224 303.4);
Tailwind
colors: {
  custom: {
    50: '#b77ce8',
    500: '#9141dc',
    950: '#000000',
  },
}
SCSS
$custom: #9141dc;
$custom-light: #b77ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9141dc",
  "rgb": {
    "r": 145,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 270.968,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.22414,
    "h": 303.4
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#9141DC
secondary
#BBDD9C
accent
#EC3C91
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9141DC

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

Preview Lab → · Contrast checker → · Palette generator →

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