#9741D5#9741D5

#9741D5 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.218 H 307.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9741D5
RGBrgb(151, 65, 213)
HSLhsl(275, 64%, 55%)
HSVhsv(275, 69%, 84%)
CMYKcmyk(29.1%, 69.5%, 0%, 16.5%)
CIE-LABlab(45.86, 60.67, -61.28)
CIE-LCHlch(45.86, 86.23, 314.71°)
OKLaboklab(56.01% 0.1323 -0.1738)
OKLCHoklch(56.01% 0.218 307.3)
XYZxyz(26.6605, 15.1643, 64.4604)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741D5 #7FD541
analogous
#4D41D5 #9741D5 #D541C9
triadic
#9741D5 #D59741 #41D597
tetradic
#9741D5 #D54D41 #7FD541 #41C9D5
square
#9741D5 #D54D41 #7FD541 #41C9D5
split-complementary
#9741D5 #C9D541 #41D54D
monochromatic
#561C7F #7827B2 #9741D5 #B273E0 #CEA5EB

Accessibility & contrast

On white

5.21
#9741D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9741D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741D5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741D5#FFFFFF#000000##FFFFFF
##9741D51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#156DD2
Tritanopia (blue-blind)
#8D6286
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9741d5;
/* rgb */ color: rgb(151, 65, 213);
/* oklch */ color: oklch(56.0% 0.218 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba7ce3',
    500: '#9741d5',
    950: '#000000',
  },
}
SCSS
$custom: #9741d5;
$custom-light: #ba7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9741d5",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 274.865,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.21846,
    "h": 307.3
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#9741D5
secondary
#B4D89A
accent
#E74186
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9741D5

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

Preview Lab → · Contrast checker → · Palette generator →

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