#8741D8#8741D8

#8741D8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.218 H 300.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8741D8
RGBrgb(135, 65, 216)
HSLhsl(268, 66%, 55%)
HSVhsv(268, 70%, 85%)
CMYKcmyk(37.5%, 69.9%, 0%, 15.3%)
CIE-LABlab(44.07, 58.29, -65.99)
CIE-LCHlch(44.07, 88.05, 311.45°)
OKLaboklab(54.37% 0.1104 -0.1882)
OKLCHoklch(54.37% 0.218 300.4)
XYZxyz(24.2736, 13.8892, 66.3545)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741D8 #92D841
analogous
#4146D8 #8741D8 #D341D8
triadic
#8741D8 #D88741 #41D887
tetradic
#8741D8 #D84146 #92D841 #41D8D3
square
#8741D8 #D84146 #92D841 #41D8D3
split-complementary
#8741D8 #D8D341 #46D841
monochromatic
#4B1B84 #6925B6 #8741D8 #A774E2 #C7A7ED

Accessibility & contrast

On white

5.56
#8741D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8741D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741D8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741D8#FFFFFF#000000##FFFFFF
##8741D81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#756688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8741d8;
/* rgb */ color: rgb(135, 65, 216);
/* oklch */ color: oklch(54.4% 0.218 300.4);
Tailwind
colors: {
  custom: {
    50: '#b07be5',
    500: '#8741d8',
    950: '#000000',
  },
}
SCSS
$custom: #8741d8;
$custom-light: #b07be5;
$custom-dark: #000000;
JSON
{
  "hex": "#8741d8",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 267.815,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54373,
    "c": 0.21817,
    "h": 300.4
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#8741D8
secondary
#BDDA9B
accent
#E93F9A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8741D8

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

Preview Lab → · Contrast checker → · Palette generator →

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