#9741CF#9741CF

#9741CF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.212 H 308.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9741CF
RGBrgb(151, 65, 207)
HSLhsl(276, 60%, 53%)
HSVhsv(276, 69%, 81%)
CMYKcmyk(27.1%, 68.6%, 0%, 18.8%)
CIE-LABlab(45.45, 59.35, -58.50)
CIE-LCHlch(45.45, 83.33, 315.41°)
OKLaboklab(55.59% 0.1331 -0.1656)
OKLCHoklch(55.59% 0.212 308.8)
XYZxyz(25.9130, 14.8653, 60.5236)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741CF #79CF41
analogous
#5041CF #9741CF #CF41C0
triadic
#9741CF #CF9741 #41CF97
tetradic
#9741CF #CF5041 #79CF41 #41C0CF
square
#9741CF #CF5041 #79CF41 #41C0CF
split-complementary
#9741CF #C0CF41 #41CF50
monochromatic
#541E77 #772BA8 #9741CF #B272DB #CCA3E8

Accessibility & contrast

On white

5.29
#9741CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9741CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741CF#FFFFFF#000000##FFFFFF
##9741CF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#8F6083
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9741cf;
/* rgb */ color: rgb(151, 65, 207);
/* oklch */ color: oklch(55.6% 0.212 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba7cde',
    500: '#9741cf',
    950: '#000000',
  },
}
SCSS
$custom: #9741cf;
$custom-light: #ba7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9741cf",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 276.338,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.21246,
    "h": 308.8
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#9741CF
secondary
#AFD497
accent
#E34583
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9741CF

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

Preview Lab → · Contrast checker → · Palette generator →

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