#8D38BF#8D38BF

#8D38BF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.205 H 309.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D38BF
RGBrgb(141, 56, 191)
HSLhsl(278, 55%, 48%)
HSVhsv(278, 71%, 75%)
CMYKcmyk(26.2%, 70.7%, 0%, 25.1%)
CIE-LABlab(41.62, 57.72, -55.47)
CIE-LCHlch(41.62, 80.06, 316.14°)
OKLaboklab(52.22% 0.1313 -0.157)
OKLCHoklch(52.22% 0.205 309.9)
XYZxyz(21.8008, 12.2531, 50.4968)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38BF #6ABF38
analogous
#4938BF #8D38BF #BF38AD
triadic
#8D38BF #BF8D38 #38BF8D
tetradic
#8D38BF #BF4938 #6ABF38 #38ADBF
square
#8D38BF #BF4938 #6ABF38 #38ADBF
split-complementary
#8D38BF #ADBF38 #38BF49
monochromatic
#471C60 #6A2A90 #8D38BF #A863D1 #C392DF

Accessibility & contrast

On white

6.09
#8D38BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D38BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38BF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38BF#FFFFFF#000000##FFFFFF
##8D38BF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#865678
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d38bf;
/* rgb */ color: rgb(141, 56, 191);
/* oklch */ color: oklch(52.2% 0.205 309.9);
Tailwind
colors: {
  custom: {
    50: '#b376d3',
    500: '#8d38bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d38bf;
$custom-light: #b376d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38bf",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 277.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.20469,
    "h": 309.9
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#8D38BF
secondary
#A1CA89
accent
#DE4A81
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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