#8741D4#8741D4

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

Color values

HEX#8741D4
RGBrgb(135, 65, 212)
HSLhsl(269, 63%, 54%)
HSVhsv(269, 69%, 83%)
CMYKcmyk(36.3%, 69.3%, 0%, 16.9%)
CIE-LABlab(43.78, 57.32, -64.18)
CIE-LCHlch(43.78, 86.05, 311.77°)
OKLaboklab(54.07% 0.111 -0.1829)
OKLCHoklch(54.07% 0.214 301.3)
XYZxyz(23.7628, 13.6848, 63.6641)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741D4 #8ED441
analogous
#4145D4 #8741D4 #D041D4
triadic
#8741D4 #D48741 #41D487
tetradic
#8741D4 #D44145 #8ED441 #41D4D0
square
#8741D4 #D44145 #8ED441 #41D4D0
split-complementary
#8741D4 #D4D041 #45D441
monochromatic
#4B1D7E #6928B0 #8741D4 #A773DF #C6A5EB

Accessibility & contrast

On white

5.62
#8741D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8741D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741D4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741D4#FFFFFF#000000##FFFFFF
##8741D41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#766486
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8741d4;
/* rgb */ color: rgb(135, 65, 212);
/* oklch */ color: oklch(54.1% 0.214 301.3);
Tailwind
colors: {
  custom: {
    50: '#b07be2',
    500: '#8741d4',
    950: '#000000',
  },
}
SCSS
$custom: #8741d4;
$custom-light: #b07be2;
$custom-dark: #000000;
JSON
{
  "hex": "#8741d4",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 268.571,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.21393,
    "h": 301.3
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#8741D4
secondary
#BAD899
accent
#E64298
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8741D4

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

Preview Lab → · Contrast checker → · Palette generator →

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