#9181C7#9181C7

#9181C7 is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.5% C 0.104 H 293.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9181C7
RGBrgb(145, 129, 199)
HSLhsl(254, 38%, 64%)
HSVhsv(254, 35%, 78%)
CMYKcmyk(27.1%, 35.2%, 0%, 22%)
CIE-LABlab(57.89, 21.32, -34.21)
CIE-LCHlch(57.89, 40.31, 301.93°)
OKLaboklab(64.53% 0.0419 -0.0951)
OKLCHoklch(64.53% 0.104 293.8)
XYZxyz(29.8336, 25.8434, 57.4382)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9181C7 #B7C781
analogous
#8194C7 #9181C7 #B481C7
triadic
#9181C7 #C79181 #81C791
tetradic
#9181C7 #C78194 #B7C781 #81C7B4
square
#9181C7 #C78194 #B7C781 #81C7B4
split-complementary
#9181C7 #C7B481 #94C781
monochromatic
#513F8E #6C57B4 #9181C7 #B6ABDA #DBD6ED

Accessibility & contrast

On white

3.40
#9181C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9181C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9181C7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9181C7#FFFFFF#000000##000000
##9181C71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCA
Deuteranopia (green-blind)
#708AC5
Tritanopia (blue-blind)
#868D9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9181c7;
/* rgb */ color: rgb(145, 129, 199);
/* oklch */ color: oklch(64.5% 0.104 293.8);
Tailwind
colors: {
  custom: {
    50: '#b2a5d8',
    500: '#9181c7',
    950: '#000000',
  },
}
SCSS
$custom: #9181c7;
$custom-light: #b2a5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9181c7",
  "rgb": {
    "r": 145,
    "g": 129,
    "b": 199
  },
  "hsl": {
    "h": 253.714,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.10396,
    "h": 293.8
  },
  "luminance": 0.25844
}

Semantic roles & 50–950 ramp

primary
#9181C7
secondary
#D8DEC6
accent
#B13495
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #9181C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9181C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva