#9181B2#9181B2

#9181B2 is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.6% C 0.074 H 299.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9181B2
RGBrgb(145, 129, 178)
HSLhsl(260, 24%, 60%)
HSVhsv(260, 28%, 70%)
CMYKcmyk(18.5%, 27.5%, 0%, 30.2%)
CIE-LABlab(57.01, 16.24, -23.61)
CIE-LCHlch(57.01, 28.66, 304.52°)
OKLaboklab(63.57% 0.0363 -0.0648)
OKLCHoklch(63.57% 0.074 299.3)
XYZxyz(27.5615, 24.9345, 45.4717)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9181B2 #A2B281
analogous
#8189B2 #9181B2 #AA81B2
triadic
#9181B2 #B29181 #81B291
tetradic
#9181B2 #B28189 #A2B281 #81B2AA
square
#9181B2 #B28189 #A2B281 #81B2AA
split-complementary
#9181B2 #B2AA81 #89B281
monochromatic
#554673 #715D99 #9181B2 #B2A7C9 #D3CDE0

Accessibility & contrast

On white

3.51
#9181B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9181B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9181B2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9181B2#FFFFFF#000000##000000
##9181B21.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#7988B1
Tritanopia (blue-blind)
#8B8892
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9181b2;
/* rgb */ color: rgb(145, 129, 178);
/* oklch */ color: oklch(63.6% 0.074 299.3);
Tailwind
colors: {
  custom: {
    50: '#b2a5c9',
    500: '#9181b2',
    950: '#000000',
  },
}
SCSS
$custom: #9181b2;
$custom-light: #b2a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9181b2",
  "rgb": {
    "r": 145,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 259.592,
    "s": 24.138,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.07431,
    "h": 299.3
  },
  "luminance": 0.24935
}

Semantic roles & 50–950 ramp

primary
#9181B2
secondary
#CBD1BE
accent
#A34383
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#110F13
muted
#807F82

Preview Lab

Preview with #9181B2

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

Preview Lab → · Contrast checker → · Palette generator →

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