#9741EA#9741EA

#9741EA is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.6% C 0.239 H 302.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9741EA
RGBrgb(151, 65, 234)
HSLhsl(271, 80%, 59%)
HSVhsv(271, 72%, 92%)
CMYKcmyk(35.5%, 72.2%, 0%, 8.2%)
CIE-LABlab(47.37, 65.40, -70.78)
CIE-LCHlch(47.37, 96.37, 312.74°)
OKLaboklab(57.55% 0.1289 -0.2017)
OKLCHoklch(57.55% 0.239 302.6)
XYZxyz(29.5006, 16.3004, 79.4180)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741EA #94EA41
analogous
#4241EA #9741EA #EA41E8
triadic
#9741EA #EA9741 #41EA97
tetradic
#9741EA #EA4241 #94EA41 #41E8EA
square
#9741EA #EA4241 #94EA41 #41E8EA
split-complementary
#9741EA #E8EA41 #41EA42
monochromatic
#5A129F #7918D6 #9741EA #B578F0 #D3AFF6

Accessibility & contrast

On white

4.93
#9741EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9741EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741EA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741EA#FFFFFF#000000##FFFFFF
##9741EA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#866B92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9741ea;
/* rgb */ color: rgb(151, 65, 234);
/* oklch */ color: oklch(57.6% 0.239 302.6);
Tailwind
colors: {
  custom: {
    50: '#bc7df2',
    500: '#9741ea',
    950: '#000000',
  },
}
SCSS
$custom: #9741ea;
$custom-light: #bc7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#9741ea",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 270.533,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.2394,
    "h": 302.6
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#9741EA
secondary
#C3E5A2
accent
#F73192
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A17
muted
#827C85

Preview Lab

Preview with #9741EA

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

Preview Lab → · Contrast checker → · Palette generator →

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