#8D38C3#8D38C3

#8D38C3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.209 H 308.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D38C3
RGBrgb(141, 56, 195)
HSLhsl(277, 55%, 49%)
HSVhsv(277, 71%, 76%)
CMYKcmyk(27.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(41.89, 58.60, -57.36)
CIE-LCHlch(41.89, 82.00, 315.61°)
OKLaboklab(52.51% 0.1308 -0.1625)
OKLCHoklch(52.51% 0.209 308.8)
XYZxyz(22.2470, 12.4316, 52.8467)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38C3 #6EC338
analogous
#4838C3 #8D38C3 #C338B3
triadic
#8D38C3 #C38D38 #38C38D
tetradic
#8D38C3 #C34838 #6EC338 #38B3C3
square
#8D38C3 #C34838 #6EC338 #38B3C3
split-complementary
#8D38C3 #B3C338 #38C348
monochromatic
#481D64 #6B2A93 #8D38C3 #A865D3 #C395E1

Accessibility & contrast

On white

6.02
#8D38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8D38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38C3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38C3#FFFFFF#000000##FFFFFF
##8D38C31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#85587A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d38c3;
/* rgb */ color: rgb(141, 56, 195);
/* oklch */ color: oklch(52.5% 0.209 308.8);
Tailwind
colors: {
  custom: {
    50: '#b376d6',
    500: '#8d38c3',
    950: '#000000',
  },
}
SCSS
$custom: #8d38c3;
$custom-light: #b376d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38c3",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 276.691,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.20862,
    "h": 308.8
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#8D38C3
secondary
#A4CC8B
accent
#DF4983
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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