#8F48CF#8F48CF

#8F48CF is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.201 H 304.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F48CF
RGBrgb(143, 72, 207)
HSLhsl(272, 58%, 55%)
HSVhsv(272, 65%, 81%)
CMYKcmyk(30.9%, 65.2%, 0%, 18.8%)
CIE-LABlab(45.61, 54.41, -58.29)
CIE-LCHlch(45.61, 79.74, 313.03°)
OKLaboklab(55.48% 0.115 -0.1653)
OKLCHoklch(55.48% 0.201 304.8)
XYZxyz(24.9050, 14.9795, 60.5987)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48CF #88CF48
analogous
#4C48CF #8F48CF #CF48CB
triadic
#8F48CF #CF8F48 #48CF8F
tetradic
#8F48CF #CF4C48 #88CF48 #48CBCF
square
#8F48CF #CF4C48 #88CF48 #48CBCF
split-complementary
#8F48CF #CBCF48 #48CF4C
monochromatic
#51217C #702DAD #8F48CF #AD78DC #CAA9E8

Accessibility & contrast

On white

5.26
#8F48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48CF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48CF#FFFFFF#000000##FFFFFF
##8F48CF1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#836585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f48cf;
/* rgb */ color: rgb(143, 72, 207);
/* oklch */ color: oklch(55.5% 0.201 304.8);
Tailwind
colors: {
  custom: {
    50: '#b47fde',
    500: '#8f48cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f48cf;
$custom-light: #b47fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48cf",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 271.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.20138,
    "h": 304.8
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#8F48CF
secondary
#B8D69D
accent
#E24690
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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