#9741B1#9741B1

#9741B1 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.183 H 317.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9741B1
RGBrgb(151, 65, 177)
HSLhsl(286, 46%, 47%)
HSVhsv(286, 63%, 69%)
CMYKcmyk(14.7%, 63.3%, 0%, 30.6%)
CIE-LABlab(43.56, 52.99, -44.06)
CIE-LCHlch(43.56, 68.91, 320.26°)
OKLaboklab(53.63% 0.1349 -0.1233)
OKLCHoklch(53.63% 0.183 317.6)
XYZxyz(22.5875, 13.5351, 43.0092)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741B1 #5BB141
analogous
#5F41B1 #9741B1 #B14193
triadic
#9741B1 #B19741 #41B197
tetradic
#9741B1 #B15F41 #5BB141 #4193B1
square
#9741B1 #B15F41 #5BB141 #4193B1
split-complementary
#9741B1 #93B141 #41B15F
monochromatic
#4B2057 #713184 #9741B1 #B168C7 #C895D8

Accessibility & contrast

On white

5.67
#9741B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9741B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741B1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741B1#FFFFFF#000000##FFFFFF
##9741B11.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B4
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#965573
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9741b1;
/* rgb */ color: rgb(151, 65, 177);
/* oklch */ color: oklch(53.6% 0.183 317.6);
Tailwind
colors: {
  custom: {
    50: '#b97bc9',
    500: '#9741b1',
    950: '#000000',
  },
}
SCSS
$custom: #9741b1;
$custom-light: #b97bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9741b1",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 286.071,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.18274,
    "h": 317.6
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#9741B1
secondary
#98C38A
accent
#D65271
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9741B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9741B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva