#8741DE#8741DE

#8741DE is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.225 H 299.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8741DE
RGBrgb(135, 65, 222)
HSLhsl(267, 70%, 56%)
HSVhsv(267, 71%, 87%)
CMYKcmyk(39.2%, 70.7%, 0%, 12.9%)
CIE-LABlab(44.53, 59.74, -68.68)
CIE-LCHlch(44.53, 91.03, 311.02°)
OKLaboklab(54.84% 0.1093 -0.1961)
OKLCHoklch(54.84% 0.225 299.1)
XYZxyz(25.0635, 14.2051, 70.5145)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741DE #98DE41
analogous
#414ADE #8741DE #D641DE
triadic
#8741DE #DE8741 #41DE87
tetradic
#8741DE #DE414A #98DE41 #41DED6
square
#8741DE #DE414A #98DE41 #41DED6
split-complementary
#8741DE #DED641 #4ADE41
monochromatic
#4C188C #6821C0 #8741DE #A875E7 #C9A9F0

Accessibility & contrast

On white

5.47
#8741DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8741DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741DE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741DE#FFFFFF#000000##FFFFFF
##8741DE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#72688B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8741de;
/* rgb */ color: rgb(135, 65, 222);
/* oklch */ color: oklch(54.8% 0.225 299.1);
Tailwind
colors: {
  custom: {
    50: '#b17be9',
    500: '#8741de',
    950: '#000000',
  },
}
SCSS
$custom: #8741de;
$custom-light: #b17be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8741de",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 266.752,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.22451,
    "h": 299.1
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#8741DE
secondary
#C1DE9D
accent
#ED3B9E
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8741DE

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

Preview Lab → · Contrast checker → · Palette generator →

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