#8F48EB#8F48EB

#8F48EB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.231 H 298.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F48EB
RGBrgb(143, 72, 235)
HSLhsl(266, 80%, 60%)
HSVhsv(266, 69%, 92%)
CMYKcmyk(39.1%, 69.4%, 0%, 7.8%)
CIE-LABlab(47.59, 61.11, -71.03)
CIE-LCHlch(47.59, 93.70, 310.71°)
OKLaboklab(57.52% 0.1113 -0.2028)
OKLCHoklch(57.52% 0.231 298.8)
XYZxyz(28.6367, 16.4721, 80.2519)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48EB #A4EB48
analogous
#4852EB #8F48EB #E148EB
triadic
#8F48EB #EB8F48 #48EB8F
tetradic
#8F48EB #EB4852 #A4EB48 #48EBE1
square
#8F48EB #EB4852 #A4EB48 #48EBE1
split-complementary
#8F48EB #EBE148 #52EB48
monochromatic
#5312A6 #6E18DE #8F48EB #B17FF1 #D3B6F7

Accessibility & contrast

On white

4.89
#8F48EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8F48EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48EB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48EB#FFFFFF#000000##FFFFFF
##8F48EB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#797095
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f48eb;
/* rgb */ color: rgb(143, 72, 235);
/* oklch */ color: oklch(57.5% 0.231 298.8);
Tailwind
colors: {
  custom: {
    50: '#b780f2',
    500: '#8f48eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f48eb;
$custom-light: #b780f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48eb",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 266.135,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.23131,
    "h": 298.8
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#8F48EB
secondary
#CBE7A8
accent
#DD0980
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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