#9741CA#9741CA

#9741CA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.207 H 310.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9741CA
RGBrgb(151, 65, 202)
HSLhsl(278, 56%, 52%)
HSVhsv(278, 68%, 79%)
CMYKcmyk(25.2%, 67.8%, 0%, 20.8%)
CIE-LABlab(45.12, 58.25, -56.15)
CIE-LCHlch(45.12, 80.91, 316.05°)
OKLaboklab(55.24% 0.1336 -0.1587)
OKLCHoklch(55.24% 0.207 310.1)
XYZxyz(25.3114, 14.6247, 57.3551)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741CA #74CA41
analogous
#5241CA #9741CA #CA41B9
triadic
#9741CA #CA9741 #41CA97
tetradic
#9741CA #CA5241 #74CA41 #41B9CA
square
#9741CA #CA5241 #74CA41 #41B9CA
split-complementary
#9741CA #B9CA41 #41CA52
monochromatic
#532071 #762DA1 #9741CA #B171D7 #CBA1E5

Accessibility & contrast

On white

5.35
#9741CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9741CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741CA#FFFFFF#000000##FFFFFF
##9741CA1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#905E80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9741ca;
/* rgb */ color: rgb(151, 65, 202);
/* oklch */ color: oklch(55.2% 0.207 310.1);
Tailwind
colors: {
  custom: {
    50: '#ba7cdb',
    500: '#9741ca',
    950: '#000000',
  },
}
SCSS
$custom: #9741ca;
$custom-light: #ba7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9741ca",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 277.664,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.20748,
    "h": 310.1
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9741CA

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

Preview Lab → · Contrast checker → · Palette generator →

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