#8D3EE7#8D3EE7

#8D3EE7 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.9% C 0.238 H 299.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8D3EE7
RGBrgb(141, 62, 231)
HSLhsl(268, 78%, 57%)
HSVhsv(268, 73%, 91%)
CMYKcmyk(39%, 73.2%, 0%, 9.4%)
CIE-LABlab(45.47, 64.26, -72.23)
CIE-LCHlch(45.47, 96.68, 311.66°)
OKLaboklab(55.87% 0.1185 -0.2063)
OKLCHoklch(55.87% 0.238 299.9)
XYZxyz(27.1273, 14.8772, 77.0282)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EE7 #98E73E
analogous
#3E44E7 #8D3EE7 #E13EE7
triadic
#8D3EE7 #E78D3E #3EE78D
tetradic
#8D3EE7 #E73E44 #98E73E #3EE7E1
square
#8D3EE7 #E73E44 #98E73E #3EE7E1
split-complementary
#8D3EE7 #E7E13E #44E73E
monochromatic
#511398 #6E1ACE #8D3EE7 #AD74EE #CDABF5

Accessibility & contrast

On white

5.28
#8D3EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D3EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EE7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EE7#FFFFFF#000000##FFFFFF
##8D3EE71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#786990
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d3ee7;
/* rgb */ color: rgb(141, 62, 231);
/* oklch */ color: oklch(55.9% 0.238 299.9);
Tailwind
colors: {
  custom: {
    50: '#b57bf0',
    500: '#8d3ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ee7;
$custom-light: #b57bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ee7",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 231
  },
  "hsl": {
    "h": 268.047,
    "s": 77.88,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.23794,
    "h": 299.9
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#8D3EE7
secondary
#C3E39E
accent
#F4339A
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8D3EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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