#9741D2#9741D2

#9741D2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.215 H 308.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9741D2
RGBrgb(151, 65, 210)
HSLhsl(276, 62%, 54%)
HSVhsv(276, 69%, 82%)
CMYKcmyk(28.1%, 69%, 0%, 17.6%)
CIE-LABlab(45.65, 60.01, -59.89)
CIE-LCHlch(45.65, 84.78, 315.05°)
OKLaboklab(55.8% 0.1327 -0.1697)
OKLCHoklch(55.8% 0.215 308)
XYZxyz(26.2832, 15.0134, 62.4735)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9741D2 #7CD241
analogous
#4F41D2 #9741D2 #D241C5
triadic
#9741D2 #D29741 #41D297
tetradic
#9741D2 #D24F41 #7CD241 #41C5D2
square
#9741D2 #D24F41 #7CD241 #41C5D2
split-complementary
#9741D2 #C5D241 #41D24F
monochromatic
#551D7B #7729AD #9741D2 #B272DE #CDA4E9

Accessibility & contrast

On white

5.25
#9741D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9741D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9741D2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9741D2#FFFFFF#000000##FFFFFF
##9741D21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#1D6DCF
Tritanopia (blue-blind)
#8E6185
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9741d2;
/* rgb */ color: rgb(151, 65, 210);
/* oklch */ color: oklch(55.8% 0.215 308.0);
Tailwind
colors: {
  custom: {
    50: '#ba7ce1',
    500: '#9741d2',
    950: '#000000',
  },
}
SCSS
$custom: #9741d2;
$custom-light: #ba7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9741d2",
  "rgb": {
    "r": 151,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 275.586,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.21547,
    "h": 308
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#9741D2
secondary
#B2D698
accent
#E54385
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9741D2

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

Preview Lab → · Contrast checker → · Palette generator →

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