#8D38CF#8D38CF

#8D38CF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.220 H 305.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8D38CF
RGBrgb(141, 56, 207)
HSLhsl(274, 61%, 52%)
HSVhsv(274, 73%, 81%)
CMYKcmyk(31.9%, 72.9%, 0%, 18.8%)
CIE-LABlab(42.76, 61.26, -62.92)
CIE-LCHlch(42.76, 87.81, 314.23°)
OKLaboklab(53.39% 0.1288 -0.1789)
OKLCHoklch(53.39% 0.22 305.8)
XYZxyz(23.6587, 12.9963, 60.2815)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38CF #7ACF38
analogous
#4238CF #8D38CF #CF38C6
triadic
#8D38CF #CF8D38 #38CF8D
tetradic
#8D38CF #CF4238 #7ACF38 #38C6CF
square
#8D38CF #CF4238 #7ACF38 #38C6CF
split-complementary
#8D38CF #C6CF38 #38CF42
monochromatic
#4C1B71 #6D27A3 #8D38CF #A969DB #C59BE7

Accessibility & contrast

On white

5.83
#8D38CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8D38CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38CF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38CF#FFFFFF#000000##FFFFFF
##8D38CF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#815C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d38cf;
/* rgb */ color: rgb(141, 56, 207);
/* oklch */ color: oklch(53.4% 0.220 305.8);
Tailwind
colors: {
  custom: {
    50: '#b476df',
    500: '#8d38cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d38cf;
$custom-light: #b476df;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38cf",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 273.775,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.22044,
    "h": 305.8
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#8D38CF
secondary
#ADD390
accent
#E4448A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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