#8D3EE3#8D3EE3

#8D3EE3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.6% C 0.234 H 300.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D3EE3
RGBrgb(141, 62, 227)
HSLhsl(269, 75%, 57%)
HSVhsv(269, 73%, 89%)
CMYKcmyk(37.9%, 72.7%, 0%, 11%)
CIE-LABlab(45.16, 63.32, -70.47)
CIE-LCHlch(45.16, 94.74, 311.94°)
OKLaboklab(55.56% 0.1194 -0.2011)
OKLCHoklch(55.56% 0.234 300.7)
XYZxyz(26.5688, 14.6538, 74.0869)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EE3 #94E33E
analogous
#3E42E3 #8D3EE3 #DF3EE3
triadic
#8D3EE3 #E38D3E #3EE38D
tetradic
#8D3EE3 #E33E42 #94E33E #3EE3DF
square
#8D3EE3 #E33E42 #94E33E #3EE3DF
split-complementary
#8D3EE3 #E3DF3E #42E33E
monochromatic
#511591 #6E1DC7 #8D3EE3 #AD73EB #CCA9F3

Accessibility & contrast

On white

5.34
#8D3EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8D3EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EE3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EE3#FFFFFF#000000##FFFFFF
##8D3EE31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#7A688D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d3ee3;
/* rgb */ color: rgb(141, 62, 227);
/* oklch */ color: oklch(55.6% 0.234 300.7);
Tailwind
colors: {
  custom: {
    50: '#b57aed',
    500: '#8d3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ee3;
$custom-light: #b57aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ee3",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 268.727,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.23389,
    "h": 300.7
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#8D3EE3
secondary
#C0E09D
accent
#F13798
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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