#8741D2#8741D2

#8741D2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.212 H 301.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8741D2
RGBrgb(135, 65, 210)
HSLhsl(269, 62%, 54%)
HSVhsv(269, 69%, 82%)
CMYKcmyk(35.7%, 69%, 0%, 17.6%)
CIE-LABlab(43.63, 56.84, -63.26)
CIE-LCHlch(43.63, 85.05, 311.94°)
OKLaboklab(53.92% 0.1114 -0.1802)
OKLCHoklch(53.92% 0.212 301.7)
XYZxyz(23.5120, 13.5845, 62.3436)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741D2 #8CD241
analogous
#4144D2 #8741D2 #D041D2
triadic
#8741D2 #D28741 #41D287
tetradic
#8741D2 #D24144 #8CD241 #41D2D0
square
#8741D2 #D24144 #8CD241 #41D2D0
split-complementary
#8741D2 #D2D041 #44D241
monochromatic
#4B1D7B #6929AD #8741D2 #A672DE #C6A4E9

Accessibility & contrast

On white

5.65
#8741D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8741D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741D2#FFFFFF#000000##FFFFFF
##8741D21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#776385
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8741d2;
/* rgb */ color: rgb(135, 65, 210);
/* oklch */ color: oklch(53.9% 0.212 301.7);
Tailwind
colors: {
  custom: {
    50: '#b07be1',
    500: '#8741d2',
    950: '#000000',
  },
}
SCSS
$custom: #8741d2;
$custom-light: #b07be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8741d2",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 268.966,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.2118,
    "h": 301.7
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#8741D2
secondary
#B8D698
accent
#E54397
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741D2

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

Preview Lab → · Contrast checker → · Palette generator →

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