#9741CB#9741CB

#9741CB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.208 H 309.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9741CB
RGBrgb(151, 65, 203)
HSLhsl(277, 57%, 53%)
HSVhsv(277, 68%, 80%)
CMYKcmyk(25.6%, 68%, 0%, 20.4%)
CIE-LABlab(45.18, 58.47, -56.62)
CIE-LCHlch(45.18, 81.39, 315.92°)
OKLaboklab(55.31% 0.1335 -0.1601)
OKLCHoklch(55.31% 0.208 309.8)
XYZxyz(25.4302, 14.6722, 57.9807)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741CB #75CB41
analogous
#5241CB #9741CB #CB41BA
triadic
#9741CB #CB9741 #41CB97
tetradic
#9741CB #CB5241 #75CB41 #41BACB
square
#9741CB #CB5241 #75CB41 #41BACB
split-complementary
#9741CB #BACB41 #41CB52
monochromatic
#531F72 #762CA2 #9741CB #B171D8 #CCA1E5

Accessibility & contrast

On white

5.34
#9741CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9741CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741CB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741CB#FFFFFF#000000##FFFFFF
##9741CB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#905E81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9741cb;
/* rgb */ color: rgb(151, 65, 203);
/* oklch */ color: oklch(55.3% 0.208 309.8);
Tailwind
colors: {
  custom: {
    50: '#ba7cdc',
    500: '#9741cb',
    950: '#000000',
  },
}
SCSS
$custom: #9741cb;
$custom-light: #ba7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9741cb",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 277.391,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55312,
    "c": 0.20847,
    "h": 309.8
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#9741CB
secondary
#ADD296
accent
#E04881
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9741CB

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

Preview Lab → · Contrast checker → · Palette generator →

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