#9741D7#9741D7

#9741D7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.220 H 306.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9741D7
RGBrgb(151, 65, 215)
HSLhsl(274, 65%, 55%)
HSVhsv(274, 70%, 84%)
CMYKcmyk(29.8%, 69.8%, 0%, 15.7%)
CIE-LABlab(46.00, 61.11, -62.20)
CIE-LCHlch(46.00, 87.20, 314.49°)
OKLaboklab(56.15% 0.1321 -0.1765)
OKLCHoklch(56.15% 0.22 306.8)
XYZxyz(26.9159, 15.2665, 65.8056)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741D7 #81D741
analogous
#4C41D7 #9741D7 #D741CC
triadic
#9741D7 #D79741 #41D797
tetradic
#9741D7 #D74C41 #81D741 #41CCD7
square
#9741D7 #D74C41 #81D741 #41CCD7
split-complementary
#9741D7 #CCD741 #41D74C
monochromatic
#561B82 #7826B5 #9741D7 #B374E2 #CEA6EC

Accessibility & contrast

On white

5.18
#9741D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9741D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741D7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741D7#FFFFFF#000000##FFFFFF
##9741D71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0E6ED4
Tritanopia (blue-blind)
#8C6388
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9741d7;
/* rgb */ color: rgb(151, 65, 215);
/* oklch */ color: oklch(56.2% 0.220 306.8);
Tailwind
colors: {
  custom: {
    50: '#bb7ce4',
    500: '#9741d7',
    950: '#000000',
  },
}
SCSS
$custom: #9741d7;
$custom-light: #bb7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#9741d7",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 274.4,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.22045,
    "h": 306.8
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#9741D7
secondary
#B5D99A
accent
#E84088
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9741D7

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

Preview Lab → · Contrast checker → · Palette generator →

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