#9741C5#9741C5

#9741C5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.202 H 311.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9741C5
RGBrgb(151, 65, 197)
HSLhsl(279, 53%, 51%)
HSVhsv(279, 67%, 77%)
CMYKcmyk(23.4%, 67%, 0%, 22.7%)
CIE-LABlab(44.79, 57.17, -53.78)
CIE-LCHlch(44.79, 78.49, 316.75°)
OKLaboklab(54.91% 0.1341 -0.1518)
OKLCHoklch(54.91% 0.202 311.5)
XYZxyz(24.7290, 14.3917, 54.2877)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741C5 #6FC541
analogous
#5541C5 #9741C5 #C541B1
triadic
#9741C5 #C59741 #41C597
tetradic
#9741C5 #C55541 #6FC541 #41B1C5
square
#9741C5 #C55541 #6FC541 #41B1C5
split-complementary
#9741C5 #B1C541 #41C555
monochromatic
#51216B #752F9A #9741C5 #B170D3 #CA9FE2

Accessibility & contrast

On white

5.41
#9741C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9741C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741C5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741C5#FFFFFF#000000##FFFFFF
##9741C51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#326CC2
Tritanopia (blue-blind)
#915C7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9741c5;
/* rgb */ color: rgb(151, 65, 197);
/* oklch */ color: oklch(54.9% 0.202 311.5);
Tailwind
colors: {
  custom: {
    50: '#b97cd7',
    500: '#9741c5',
    950: '#000000',
  },
}
SCSS
$custom: #9741c5;
$custom-light: #b97cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9741c5",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 279.091,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.20249,
    "h": 311.5
  },
  "luminance": 0.14391
}

Semantic roles & 50–950 ramp

primary
#9741C5
secondary
#A8CE94
accent
#DD4B7E
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9741C5

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

Preview Lab → · Contrast checker → · Palette generator →

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