#8D48CF#8D48CF

#8D48CF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.201 H 304.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D48CF
RGBrgb(141, 72, 207)
HSLhsl(271, 58%, 55%)
HSVhsv(271, 65%, 81%)
CMYKcmyk(31.9%, 65.2%, 0%, 18.8%)
CIE-LABlab(45.36, 53.98, -58.70)
CIE-LCHlch(45.36, 79.75, 312.60°)
OKLaboklab(55.25% 0.1123 -0.1666)
OKLCHoklch(55.25% 0.201 304)
XYZxyz(24.5618, 14.8025, 60.5826)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48CF #8ACF48
analogous
#4A48CF #8D48CF #CF48CD
triadic
#8D48CF #CF8D48 #48CF8D
tetradic
#8D48CF #CF4A48 #8ACF48 #48CDCF
square
#8D48CF #CF4A48 #8ACF48 #48CDCF
split-complementary
#8D48CF #CDCF48 #48CF4A
monochromatic
#4F217C #6E2DAD #8D48CF #AB78DC #C9A9E8

Accessibility & contrast

On white

5.30
#8D48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48CF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48CF#FFFFFF#000000##FFFFFF
##8D48CF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#1C6BCC
Tritanopia (blue-blind)
#816685
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d48cf;
/* rgb */ color: rgb(141, 72, 207);
/* oklch */ color: oklch(55.3% 0.201 304.0);
Tailwind
colors: {
  custom: {
    50: '#b37fde',
    500: '#8d48cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d48cf;
$custom-light: #b37fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48cf",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 270.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.20092,
    "h": 304
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#8D48CF
secondary
#B9D69D
accent
#E24692
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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