#9741C7#9741C7

#9741C7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.204 H 310.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9741C7
RGBrgb(151, 65, 199)
HSLhsl(279, 54%, 52%)
HSVhsv(279, 67%, 78%)
CMYKcmyk(24.1%, 67.3%, 0%, 22%)
CIE-LABlab(44.92, 57.60, -54.73)
CIE-LCHlch(44.92, 79.46, 316.46°)
OKLaboklab(55.04% 0.1339 -0.1546)
OKLCHoklch(55.04% 0.204 310.9)
XYZxyz(24.9596, 14.4840, 55.5026)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741C7 #71C741
analogous
#5441C7 #9741C7 #C741B4
triadic
#9741C7 #C79741 #41C797
tetradic
#9741C7 #C75441 #71C741 #41B4C7
square
#9741C7 #C75441 #71C741 #41B4C7
split-complementary
#9741C7 #B4C741 #41C754
monochromatic
#52206D #752E9D #9741C7 #B170D5 #CBA0E3

Accessibility & contrast

On white

5.39
#9741C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9741C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741C7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741C7#FFFFFF#000000##FFFFFF
##9741C71.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#915D7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9741c7;
/* rgb */ color: rgb(151, 65, 199);
/* oklch */ color: oklch(55.0% 0.204 310.9);
Tailwind
colors: {
  custom: {
    50: '#ba7cd9',
    500: '#9741c7',
    950: '#000000',
  },
}
SCSS
$custom: #9741c7;
$custom-light: #ba7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9741c7",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 278.507,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5504,
    "c": 0.20449,
    "h": 310.9
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#9741C7
secondary
#AACF95
accent
#DE4A7F
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9741C7

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

Preview Lab → · Contrast checker → · Palette generator →

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