#9741AF#9741AF

#9741AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.5% C 0.181 H 318.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9741AF
RGBrgb(151, 65, 175)
HSLhsl(287, 46%, 47%)
HSVhsv(287, 63%, 69%)
CMYKcmyk(13.7%, 62.9%, 0%, 31.4%)
CIE-LABlab(43.44, 52.58, -43.06)
CIE-LCHlch(43.44, 67.96, 320.68°)
OKLaboklab(53.5% 0.1349 -0.1204)
OKLCHoklch(53.5% 0.181 318.2)
XYZxyz(22.3896, 13.4560, 41.9670)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741AF #59AF41
analogous
#6041AF #9741AF #AF4190
triadic
#9741AF #AF9741 #41AF97
tetradic
#9741AF #AF6041 #59AF41 #4190AF
square
#9741AF #AF6041 #59AF41 #4190AF
split-complementary
#9741AF #90AF41 #41AF60
monochromatic
#4A2056 #703082 #9741AF #B267C6 #C893D7

Accessibility & contrast

On white

5.69
#9741AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9741AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741AF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741AF#FFFFFF#000000##FFFFFF
##9741AF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#975472
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9741af;
/* rgb */ color: rgb(151, 65, 175);
/* oklch */ color: oklch(53.5% 0.181 318.2);
Tailwind
colors: {
  custom: {
    50: '#b97bc7',
    500: '#9741af',
    950: '#000000',
  },
}
SCSS
$custom: #9741af;
$custom-light: #b97bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9741af",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 286.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.18078,
    "h": 318.2
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#9741AF
secondary
#96C289
accent
#D5526F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9741AF

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

Preview Lab → · Contrast checker → · Palette generator →

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