#8741FF#8741FF

#8741FF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.5% C 0.259 H 293.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8741FF
RGBrgb(135, 65, 255)
HSLhsl(262, 100%, 63%)
HSVhsv(262, 75%, 100%)
CMYKcmyk(47.1%, 74.5%, 0%, 0%)
CIE-LABlab(47.17, 67.87, -82.95)
CIE-LCHlch(47.17, 107.17, 309.29°)
OKLaboklab(57.52% 0.1021 -0.238)
OKLCHoklch(57.52% 0.259 293.2)
XYZxyz(29.9270, 16.1505, 96.1289)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741FF #B9FF41
analogous
#415AFF #8741FF #E641FF
triadic
#8741FF #FF8741 #41FF87
tetradic
#8741FF #FF415A #B9FF41 #41FFE6
square
#8741FF #FF415A #B9FF41 #41FFE6
split-complementary
#8741FF #FFE641 #5AFF41
monochromatic
#4900C6 #6004FF #8741FF #AE7EFF #D4BBFF

Accessibility & contrast

On white

4.96
#8741FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8741FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741FF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741FF#FFFFFF#000000##FFFFFF
##8741FF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#006CFB
Tritanopia (blue-blind)
#62759E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8741ff;
/* rgb */ color: rgb(135, 65, 255);
/* oklch */ color: oklch(57.5% 0.259 293.2);
Tailwind
colors: {
  custom: {
    50: '#b47dff',
    500: '#8741ff',
    950: '#000000',
  },
}
SCSS
$custom: #8741ff;
$custom-light: #b47dff;
$custom-dark: #000000;
JSON
{
  "hex": "#8741ff",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 255
  },
  "hsl": {
    "h": 262.105,
    "s": 100,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.25894,
    "h": 293.2
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#8741FF
secondary
#D7F0AC
accent
#E60091
background
#FBF7FF
surface
#F7EEFF
border
#D0C9D7
text
#120A18
muted
#817C86

Preview Lab

Preview with #8741FF

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

Preview Lab → · Contrast checker → · Palette generator →

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