#9741C4#9741C4

#9741C4 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.202 H 311.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9741C4
RGBrgb(151, 65, 196)
HSLhsl(279, 53%, 51%)
HSVhsv(279, 67%, 77%)
CMYKcmyk(23%, 66.8%, 0%, 23.1%)
CIE-LABlab(44.73, 56.96, -53.30)
CIE-LCHlch(44.73, 78.01, 316.90°)
OKLaboklab(54.84% 0.1341 -0.1504)
OKLCHoklch(54.84% 0.202 311.7)
XYZxyz(24.6148, 14.3460, 53.6863)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741C4 #6EC441
analogous
#5541C4 #9741C4 #C441AF
triadic
#9741C4 #C49741 #41C497
tetradic
#9741C4 #C45541 #6EC441 #41AFC4
square
#9741C4 #C45541 #6EC441 #41AFC4
split-complementary
#9741C4 #AFC441 #41C455
monochromatic
#51216A #742F98 #9741C4 #B170D3 #CA9EE1

Accessibility & contrast

On white

5.43
#9741C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9741C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741C4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741C4#FFFFFF#000000##FFFFFF
##9741C41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#336BC1
Tritanopia (blue-blind)
#925C7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9741c4;
/* rgb */ color: rgb(151, 65, 196);
/* oklch */ color: oklch(54.8% 0.202 311.7);
Tailwind
colors: {
  custom: {
    50: '#b97cd7',
    500: '#9741c4',
    950: '#000000',
  },
}
SCSS
$custom: #9741c4;
$custom-light: #b97cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9741c4",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 279.389,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.20151,
    "h": 311.7
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

primary
#9741C4
secondary
#A7CD93
accent
#DC4C7D
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9741C4

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

Preview Lab → · Contrast checker → · Palette generator →

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