#9741DB#9741DB

#9741DB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.4% C 0.224 H 305.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9741DB
RGBrgb(151, 65, 219)
HSLhsl(274, 68%, 56%)
HSVhsv(274, 70%, 86%)
CMYKcmyk(31.1%, 70.3%, 0%, 14.1%)
CIE-LABlab(46.28, 62.01, -64.04)
CIE-LCHlch(46.28, 89.14, 314.08°)
OKLaboklab(56.44% 0.1315 -0.1819)
OKLCHoklch(56.44% 0.224 305.9)
XYZxyz(27.4362, 15.4746, 68.5456)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741DB #85DB41
analogous
#4A41DB #9741DB #DB41D2
triadic
#9741DB #DB9741 #41DB97
tetradic
#9741DB #DB4A41 #85DB41 #41D2DB
square
#9741DB #DB4A41 #85DB41 #41D2DB
split-complementary
#9741DB #D2DB41 #41DB4A
monochromatic
#571A88 #7823BB #9741DB #B374E5 #CFA8EE

Accessibility & contrast

On white

5.13
#9741DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9741DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741DB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741DB#FFFFFF#000000##FFFFFF
##9741DB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9741db;
/* rgb */ color: rgb(151, 65, 219);
/* oklch */ color: oklch(56.4% 0.224 305.9);
Tailwind
colors: {
  custom: {
    50: '#bb7de7',
    500: '#9741db',
    950: '#000000',
  },
}
SCSS
$custom: #9741db;
$custom-light: #bb7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#9741db",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 273.506,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.22445,
    "h": 305.9
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

primary
#9741DB
secondary
#B8DC9C
accent
#EB3D8A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9741DB

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

Preview Lab → · Contrast checker → · Palette generator →

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