#9741D4#9741D4

#9741D4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.217 H 307.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9741D4
RGBrgb(151, 65, 212)
HSLhsl(275, 63%, 54%)
HSVhsv(275, 69%, 83%)
CMYKcmyk(28.8%, 69.3%, 0%, 16.9%)
CIE-LABlab(45.79, 60.45, -60.82)
CIE-LCHlch(45.79, 85.75, 314.82°)
OKLaboklab(55.94% 0.1325 -0.1724)
OKLCHoklch(55.94% 0.217 307.5)
XYZxyz(26.5340, 15.1137, 63.7940)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741D4 #7ED441
analogous
#4E41D4 #9741D4 #D441C8
triadic
#9741D4 #D49741 #41D497
tetradic
#9741D4 #D44E41 #7ED441 #41C8D4
square
#9741D4 #D44E41 #7ED441 #41C8D4
split-complementary
#9741D4 #C8D441 #41D44E
monochromatic
#561D7E #7728B0 #9741D4 #B273DF #CEA5EB

Accessibility & contrast

On white

5.22
#9741D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9741D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741D4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741D4#FFFFFF#000000##FFFFFF
##9741D41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#186DD1
Tritanopia (blue-blind)
#8D6286
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9741d4;
/* rgb */ color: rgb(151, 65, 212);
/* oklch */ color: oklch(55.9% 0.217 307.5);
Tailwind
colors: {
  custom: {
    50: '#ba7ce2',
    500: '#9741d4',
    950: '#000000',
  },
}
SCSS
$custom: #9741d4;
$custom-light: #ba7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#9741d4",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 275.102,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.21746,
    "h": 307.5
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#9741D4
secondary
#B3D899
accent
#E64286
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9741D4

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

Preview Lab → · Contrast checker → · Palette generator →

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