#8741D5#8741D5

#8741D5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.215 H 301.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8741D5
RGBrgb(135, 65, 213)
HSLhsl(268, 64%, 55%)
HSVhsv(268, 69%, 84%)
CMYKcmyk(36.6%, 69.5%, 0%, 16.5%)
CIE-LABlab(43.85, 57.56, -64.63)
CIE-LCHlch(43.85, 86.55, 311.69°)
OKLaboklab(54.15% 0.1109 -0.1842)
OKLCHoklch(54.15% 0.215 301)
XYZxyz(23.8893, 13.7354, 64.3305)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741D5 #8FD541
analogous
#4145D5 #8741D5 #D141D5
triadic
#8741D5 #D58741 #41D587
tetradic
#8741D5 #D54145 #8FD541 #41D5D1
square
#8741D5 #D54145 #8FD541 #41D5D1
split-complementary
#8741D5 #D5D141 #45D541
monochromatic
#4B1C7F #6927B2 #8741D5 #A773E0 #C6A5EB

Accessibility & contrast

On white

5.60
#8741D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8741D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741D5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741D5#FFFFFF#000000##FFFFFF
##8741D51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#766486
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8741d5;
/* rgb */ color: rgb(135, 65, 213);
/* oklch */ color: oklch(54.1% 0.215 301.0);
Tailwind
colors: {
  custom: {
    50: '#b07be3',
    500: '#8741d5',
    950: '#000000',
  },
}
SCSS
$custom: #8741d5;
$custom-light: #b07be3;
$custom-dark: #000000;
JSON
{
  "hex": "#8741d5",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 268.378,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.21499,
    "h": 301
  },
  "luminance": 0.13736
}

Semantic roles & 50–950 ramp

primary
#8741D5
secondary
#BBD89A
accent
#E74198
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8741D5

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

Preview Lab → · Contrast checker → · Palette generator →

#8741D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva