#9741C2#9741C2

#9741C2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.7% C 0.200 H 312.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9741C2
RGBrgb(151, 65, 194)
HSLhsl(280, 51%, 51%)
HSVhsv(280, 66%, 76%)
CMYKcmyk(22.2%, 66.5%, 0%, 23.9%)
CIE-LABlab(44.60, 56.53, -52.35)
CIE-LCHlch(44.60, 77.05, 317.20°)
OKLaboklab(54.71% 0.1343 -0.1476)
OKLCHoklch(54.71% 0.2 312.3)
XYZxyz(24.3886, 14.2556, 52.4953)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741C2 #6CC241
analogous
#5641C2 #9741C2 #C241AC
triadic
#9741C2 #C29741 #41C297
tetradic
#9741C2 #C25641 #6CC241 #41ACC2
square
#9741C2 #C25641 #6CC241 #41ACC2
split-complementary
#9741C2 #ACC241 #41C256
monochromatic
#502167 #743096 #9741C2 #B06FD1 #CA9EE0

Accessibility & contrast

On white

5.45
#9741C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9741C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741C2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741C2#FFFFFF#000000##FFFFFF
##9741C21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#925B7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9741c2;
/* rgb */ color: rgb(151, 65, 194);
/* oklch */ color: oklch(54.7% 0.200 312.3);
Tailwind
colors: {
  custom: {
    50: '#b97cd5',
    500: '#9741c2',
    950: '#000000',
  },
}
SCSS
$custom: #9741c2;
$custom-light: #b97cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9741c2",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.19951,
    "h": 312.3
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#9741C2
secondary
#A6CC93
accent
#DB4D7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9741C2

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

Preview Lab → · Contrast checker → · Palette generator →

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