#9741D9#9741D9

#9741D9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.222 H 306.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9741D9
RGBrgb(151, 65, 217)
HSLhsl(274, 67%, 55%)
HSVhsv(274, 70%, 85%)
CMYKcmyk(30.4%, 70%, 0%, 14.9%)
CIE-LABlab(46.14, 61.56, -63.12)
CIE-LCHlch(46.14, 88.17, 314.28°)
OKLaboklab(56.3% 0.1318 -0.1792)
OKLCHoklch(56.3% 0.222 306.3)
XYZxyz(27.1745, 15.3699, 67.1673)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741D9 #83D941
analogous
#4B41D9 #9741D9 #D941CF
triadic
#9741D9 #D99741 #41D997
tetradic
#9741D9 #D94B41 #83D941 #41CFD9
square
#9741D9 #D94B41 #83D941 #41CFD9
split-complementary
#9741D9 #CFD941 #41D94B
monochromatic
#571B85 #7825B8 #9741D9 #B374E3 #CFA7ED

Accessibility & contrast

On white

5.15
#9741D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9741D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741D9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741D9#FFFFFF#000000##FFFFFF
##9741D91.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#036ED6
Tritanopia (blue-blind)
#8C6489
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9741d9;
/* rgb */ color: rgb(151, 65, 217);
/* oklch */ color: oklch(56.3% 0.222 306.3);
Tailwind
colors: {
  custom: {
    50: '#bb7ce6',
    500: '#9741d9',
    950: '#000000',
  },
}
SCSS
$custom: #9741d9;
$custom-light: #bb7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9741d9",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 273.947,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.22245,
    "h": 306.3
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#9741D9
secondary
#B7DB9B
accent
#EA3E89
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9741D9

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

Preview Lab → · Contrast checker → · Palette generator →

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