#8D3FE4#8D3FE4

#8D3FE4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.7% C 0.234 H 300.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D3FE4
RGBrgb(141, 63, 228)
HSLhsl(268, 75%, 57%)
HSVhsv(268, 72%, 89%)
CMYKcmyk(38.2%, 72.4%, 0%, 10.6%)
CIE-LABlab(45.39, 63.12, -70.66)
CIE-LCHlch(45.39, 94.75, 311.78°)
OKLaboklab(55.75% 0.1183 -0.2017)
OKLCHoklch(55.75% 0.234 300.4)
XYZxyz(26.7621, 14.8189, 74.8341)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FE4 #96E43F
analogous
#3F44E4 #8D3FE4 #E03FE4
triadic
#8D3FE4 #E48D3F #3FE48D
tetradic
#8D3FE4 #E43F44 #96E43F #3FE4E0
square
#8D3FE4 #E43F44 #96E43F #3FE4E0
split-complementary
#8D3FE4 #E4E03F #44E43F
monochromatic
#511594 #6E1CC9 #8D3FE4 #AD75EC #CDAAF3

Accessibility & contrast

On white

5.30
#8D3FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D3FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FE4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FE4#FFFFFF#000000##FFFFFF
##8D3FE41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#79698E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d3fe4;
/* rgb */ color: rgb(141, 63, 228);
/* oklch */ color: oklch(55.7% 0.234 300.4);
Tailwind
colors: {
  custom: {
    50: '#b57bee',
    500: '#8d3fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fe4;
$custom-light: #b57bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fe4",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 228
  },
  "hsl": {
    "h": 268.364,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55745,
    "c": 0.23382,
    "h": 300.4
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#8D3FE4
secondary
#C1E19E
accent
#F23699
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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