#8D3EF0#8D3EF0

#8D3EF0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.6% C 0.247 H 298.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D3EF0
RGBrgb(141, 62, 240)
HSLhsl(267, 86%, 59%)
HSVhsv(267, 74%, 94%)
CMYKcmyk(41.3%, 74.2%, 0%, 5.9%)
CIE-LABlab(46.18, 66.39, -76.15)
CIE-LCHlch(46.18, 101.03, 311.08°)
OKLaboklab(56.59% 0.1165 -0.2178)
OKLCHoklch(56.59% 0.247 298.1)
XYZxyz(28.4312, 15.3988, 83.8955)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EF0 #A1F03E
analogous
#3E48F0 #8D3EF0 #E63EF0
triadic
#8D3EF0 #F08D3E #3EF08D
tetradic
#8D3EF0 #F03E48 #A1F03E #3EF0E6
square
#8D3EF0 #F03E48 #A1F03E #3EF0E6
split-complementary
#8D3EF0 #F0E63E #48F03E
monochromatic
#510DA7 #6D11DF #8D3EF0 #AF77F4 #D0B0F9

Accessibility & contrast

On white

5.15
#8D3EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8D3EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EF0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EF0#FFFFFF#000000##FFFFFF
##8D3EF01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#746D95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d3ef0;
/* rgb */ color: rgb(141, 62, 240);
/* oklch */ color: oklch(56.6% 0.247 298.1);
Tailwind
colors: {
  custom: {
    50: '#b67bf6',
    500: '#8d3ef0',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ef0;
$custom-light: #b67bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ef0",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 240
  },
  "hsl": {
    "h": 266.629,
    "s": 85.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.24703,
    "h": 298.1
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#8D3EF0
secondary
#C9E8A2
accent
#FC2CA0
background
#FBF7FF
surface
#F7EEFF
border
#D0C9D7
text
#120A17
muted
#817C85

Preview Lab

Preview with #8D3EF0

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

Preview Lab → · Contrast checker → · Palette generator →

#8D3EF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva