#9741CC#9741CC

#9741CC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.209 H 309.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9741CC
RGBrgb(151, 65, 204)
HSLhsl(277, 58%, 53%)
HSVhsv(277, 68%, 80%)
CMYKcmyk(26%, 68.1%, 0%, 20%)
CIE-LABlab(45.25, 58.69, -57.09)
CIE-LCHlch(45.25, 81.88, 315.79°)
OKLaboklab(55.38% 0.1334 -0.1615)
OKLCHoklch(55.38% 0.209 309.6)
XYZxyz(25.5497, 14.7200, 58.6103)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741CC #76CC41
analogous
#5141CC #9741CC #CC41BC
triadic
#9741CC #CC9741 #41CC97
tetradic
#9741CC #CC5141 #76CC41 #41BCCC
square
#9741CC #CC5141 #76CC41 #41BCCC
split-complementary
#9741CC #BCCC41 #41CC51
monochromatic
#531F74 #762CA4 #9741CC #B171D9 #CCA1E6

Accessibility & contrast

On white

5.32
#9741CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9741CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741CC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741CC#FFFFFF#000000##FFFFFF
##9741CC1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#8F5F82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9741cc;
/* rgb */ color: rgb(151, 65, 204);
/* oklch */ color: oklch(55.4% 0.209 309.6);
Tailwind
colors: {
  custom: {
    50: '#ba7cdc',
    500: '#9741cc',
    950: '#000000',
  },
}
SCSS
$custom: #9741cc;
$custom-light: #ba7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9741cc",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 277.122,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.20948,
    "h": 309.6
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#9741CC
secondary
#ADD396
accent
#E14782
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9741CC

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

Preview Lab → · Contrast checker → · Palette generator →

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