#9741C8#9741C8

#9741C8 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.205 H 310.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9741C8
RGBrgb(151, 65, 200)
HSLhsl(278, 55%, 52%)
HSVhsv(278, 68%, 78%)
CMYKcmyk(24.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(44.98, 57.82, -55.21)
CIE-LCHlch(44.98, 79.94, 316.32°)
OKLaboklab(55.11% 0.1338 -0.156)
OKLCHoklch(55.11% 0.205 310.6)
XYZxyz(25.0761, 14.5306, 56.1161)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741C8 #72C841
analogous
#5441C8 #9741C8 #C841B6
triadic
#9741C8 #C89741 #41C897
tetradic
#9741C8 #C85441 #72C841 #41B6C8
square
#9741C8 #C85441 #72C841 #41B6C8
split-complementary
#9741C8 #B6C841 #41C854
monochromatic
#52206F #752E9E #9741C8 #B170D6 #CBA0E3

Accessibility & contrast

On white

5.38
#9741C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9741C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741C8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741C8#FFFFFF#000000##FFFFFF
##9741C81.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#915D7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9741c8;
/* rgb */ color: rgb(151, 65, 200);
/* oklch */ color: oklch(55.1% 0.205 310.6);
Tailwind
colors: {
  custom: {
    50: '#ba7cd9',
    500: '#9741c8',
    950: '#000000',
  },
}
SCSS
$custom: #9741c8;
$custom-light: #ba7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9741c8",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 278.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55108,
    "c": 0.20549,
    "h": 310.6
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#9741C8
secondary
#AAD095
accent
#DE497F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9741C8

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

Preview Lab → · Contrast checker → · Palette generator →

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