#9741DC#9741DC

#9741DC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.225 H 305.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9741DC
RGBrgb(151, 65, 220)
HSLhsl(273, 69%, 56%)
HSVhsv(273, 70%, 86%)
CMYKcmyk(31.4%, 70.5%, 0%, 13.7%)
CIE-LABlab(46.35, 62.23, -64.49)
CIE-LCHlch(46.35, 89.62, 313.98°)
OKLaboklab(56.51% 0.1313 -0.1832)
OKLCHoklch(56.51% 0.225 305.6)
XYZxyz(27.5682, 15.5274, 69.2410)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741DC #86DC41
analogous
#4941DC #9741DC #DC41D4
triadic
#9741DC #DC9741 #41DC97
tetradic
#9741DC #DC4941 #86DC41 #41D4DC
square
#9741DC #DC4941 #86DC41 #41D4DC
split-complementary
#9741DC #D4DC41 #41DC49
monochromatic
#571989 #7823BD #9741DC #B375E6 #D0A8EF

Accessibility & contrast

On white

5.12
#9741DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9741DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741DC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741DC#FFFFFF#000000##FFFFFF
##9741DC1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#8B658A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9741dc;
/* rgb */ color: rgb(151, 65, 220);
/* oklch */ color: oklch(56.5% 0.225 305.6);
Tailwind
colors: {
  custom: {
    50: '#bb7de8',
    500: '#9741dc',
    950: '#000000',
  },
}
SCSS
$custom: #9741dc;
$custom-light: #bb7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#9741dc",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 273.29,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.22544,
    "h": 305.6
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#9741DC
secondary
#B9DD9C
accent
#EC3C8A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9741DC

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

Preview Lab → · Contrast checker → · Palette generator →

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