#8741D6#8741D6

#8741D6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.216 H 300.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8741D6
RGBrgb(135, 65, 214)
HSLhsl(268, 65%, 55%)
HSVhsv(268, 70%, 84%)
CMYKcmyk(36.9%, 69.6%, 0%, 16.1%)
CIE-LABlab(43.92, 57.80, -65.08)
CIE-LCHlch(43.92, 87.05, 311.61°)
OKLaboklab(54.22% 0.1107 -0.1855)
OKLCHoklch(54.22% 0.216 300.8)
XYZxyz(24.0166, 13.7864, 65.0010)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741D6 #90D641
analogous
#4146D6 #8741D6 #D241D6
triadic
#8741D6 #D68741 #41D687
tetradic
#8741D6 #D64146 #90D641 #41D6D2
square
#8741D6 #D64146 #90D641 #41D6D2
split-complementary
#8741D6 #D6D241 #46D641
monochromatic
#4B1C81 #6927B3 #8741D6 #A773E1 #C7A6EC

Accessibility & contrast

On white

5.59
#8741D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8741D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741D6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741D6#FFFFFF#000000##FFFFFF
##8741D61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#766587
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8741d6;
/* rgb */ color: rgb(135, 65, 214);
/* oklch */ color: oklch(54.2% 0.216 300.8);
Tailwind
colors: {
  custom: {
    50: '#b07be4',
    500: '#8741d6',
    950: '#000000',
  },
}
SCSS
$custom: #8741d6;
$custom-light: #b07be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8741d6",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 268.188,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.21605,
    "h": 300.8
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#8741D6
secondary
#BBD99A
accent
#E74099
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8741D6

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

Preview Lab → · Contrast checker → · Palette generator →

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