#8F48EE#8F48EE

#8F48EE is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.8% C 0.234 H 298.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8F48EE
RGBrgb(143, 72, 238)
HSLhsl(266, 83%, 61%)
HSVhsv(266, 70%, 93%)
CMYKcmyk(39.9%, 69.7%, 0%, 6.7%)
CIE-LABlab(47.81, 61.84, -72.35)
CIE-LCHlch(47.81, 95.18, 310.52°)
OKLaboklab(57.75% 0.1108 -0.2066)
OKLCHoklch(57.75% 0.234 298.2)
XYZxyz(29.0737, 16.6470, 82.5538)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48EE #A7EE48
analogous
#4854EE #8F48EE #E248EE
triadic
#8F48EE #EE8F48 #48EE8F
tetradic
#8F48EE #EE4854 #A7EE48 #48EEE2
square
#8F48EE #EE4854 #A7EE48 #48EEE2
split-complementary
#8F48EE #EEE248 #54EE48
monochromatic
#5310AC #6D15E4 #8F48EE #B180F3 #D4B8F8

Accessibility & contrast

On white

4.85
#8F48EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8F48EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48EE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48EE#FFFFFF#000000##FFFFFF
##8F48EE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#787196
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f48ee;
/* rgb */ color: rgb(143, 72, 238);
/* oklch */ color: oklch(57.8% 0.234 298.2);
Tailwind
colors: {
  custom: {
    50: '#b780f5',
    500: '#8f48ee',
    950: '#000000',
  },
}
SCSS
$custom: #8f48ee;
$custom-light: #b780f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48ee",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 238
  },
  "hsl": {
    "h": 265.663,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.23449,
    "h": 298.2
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#8F48EE
secondary
#CDE8A9
accent
#DF0682
background
#FBF8FF
surface
#F7EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F48EE

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

Preview Lab → · Contrast checker → · Palette generator →

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