#9181CD#9181CD

#9181CD is a light, moderate violet. Relative luminance 0.261; OKLCH L 64.8% C 0.112 H 292.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9181CD
RGBrgb(145, 129, 205)
HSLhsl(253, 43%, 65%)
HSVhsv(253, 37%, 80%)
CMYKcmyk(29.3%, 37.1%, 0%, 19.6%)
CIE-LABlab(58.16, 22.83, -37.18)
CIE-LCHlch(58.16, 43.63, 301.56°)
OKLaboklab(64.82% 0.0433 -0.1037)
OKLCHoklch(64.82% 0.112 292.7)
XYZxyz(30.5440, 26.1275, 61.1797)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9181CD #BDCD81
analogous
#8197CD #9181CD #B781CD
triadic
#9181CD #CD9181 #81CD91
tetradic
#9181CD #CD8197 #BDCD81 #81CDB7
square
#9181CD #CD8197 #BDCD81 #81CDB7
split-complementary
#9181CD #CDB781 #97CD81
monochromatic
#4F3C97 #6B55BC #9181CD #B7ADDE #DDD9F0

Accessibility & contrast

On white

3.37
#9181CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9181CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9181CD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9181CD#FFFFFF#000000##000000
##9181CD1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#848E9D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9181cd;
/* rgb */ color: rgb(145, 129, 205);
/* oklch */ color: oklch(64.8% 0.112 292.7);
Tailwind
colors: {
  custom: {
    50: '#b3a5dc',
    500: '#9181cd',
    950: '#000000',
  },
}
SCSS
$custom: #9181cd;
$custom-light: #b3a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9181cd",
  "rgb": {
    "r": 145,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 252.632,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64824,
    "c": 0.11237,
    "h": 292.7
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#9181CD
secondary
#DCE2C8
accent
#B62F9A
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83

Preview Lab

Preview with #9181CD

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

Preview Lab → · Contrast checker → · Palette generator →

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