#8D38BE#8D38BE

#8D38BE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.204 H 310.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8D38BE
RGBrgb(141, 56, 190)
HSLhsl(278, 54%, 48%)
HSVhsv(278, 71%, 75%)
CMYKcmyk(25.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(41.55, 57.51, -55.00)
CIE-LCHlch(41.55, 79.57, 316.28°)
OKLaboklab(52.15% 0.1314 -0.1556)
OKLCHoklch(52.15% 0.204 310.2)
XYZxyz(21.6911, 12.2092, 49.9192)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38BE #69BE38
analogous
#4A38BE #8D38BE #BE38AC
triadic
#8D38BE #BE8D38 #38BE8D
tetradic
#8D38BE #BE4A38 #69BE38 #38ACBE
square
#8D38BE #BE4A38 #69BE38 #38ACBE
split-complementary
#8D38BE #ACBE38 #38BE4A
monochromatic
#471C5F #6A2A8F #8D38BE #A862D1 #C392DF

Accessibility & contrast

On white

6.10
#8D38BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8D38BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38BE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38BE#FFFFFF#000000##FFFFFF
##8D38BE1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#2063BB
Tritanopia (blue-blind)
#865577
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d38be;
/* rgb */ color: rgb(141, 56, 190);
/* oklch */ color: oklch(52.2% 0.204 310.2);
Tailwind
colors: {
  custom: {
    50: '#b376d2',
    500: '#8d38be',
    950: '#000000',
  },
}
SCSS
$custom: #8d38be;
$custom-light: #b376d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38be",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 278.06,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.2037,
    "h": 310.2
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#8D38BE
secondary
#A0CA88
accent
#DE4A80
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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