#8741FB#8741FB

#8741FB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.2% C 0.255 H 293.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8741FB
RGBrgb(135, 65, 251)
HSLhsl(263, 96%, 62%)
HSVhsv(263, 74%, 98%)
CMYKcmyk(46.2%, 74.1%, 0%, 1.6%)
CIE-LABlab(46.84, 66.87, -81.27)
CIE-LCHlch(46.84, 105.24, 309.45°)
OKLaboklab(57.18% 0.1031 -0.233)
OKLCHoklch(57.18% 0.255 293.9)
XYZxyz(29.2898, 15.8956, 92.7730)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741FB #B5FB41
analogous
#4158FB #8741FB #E441FB
triadic
#8741FB #FB8741 #41FB87
tetradic
#8741FB #FB4158 #B5FB41 #41FBE4
square
#8741FB #FB4158 #B5FB41 #41FBE4
split-complementary
#8741FB #FBE441 #58FB41
monochromatic
#4A04BE #6105FA #8741FB #AD7DFC #D3B9FE

Accessibility & contrast

On white

5.02
#8741FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8741FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741FB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741FB#FFFFFF#000000##FFFFFF
##8741FB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#006CF7
Tritanopia (blue-blind)
#64739C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8741fb;
/* rgb */ color: rgb(135, 65, 251);
/* oklch */ color: oklch(57.2% 0.255 293.9);
Tailwind
colors: {
  custom: {
    50: '#b47cfe',
    500: '#8741fb',
    950: '#000000',
  },
}
SCSS
$custom: #8741fb;
$custom-light: #b47cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8741fb",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 251
  },
  "hsl": {
    "h": 262.581,
    "s": 95.876,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.25482,
    "h": 293.9
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#8741FB
secondary
#D4EEAA
accent
#E6008F
background
#FBF7FF
surface
#F7EEFF
border
#D0C9D7
text
#120A18
muted
#817C86

Preview Lab

Preview with #8741FB

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

Preview Lab → · Contrast checker → · Palette generator →

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