#8748BF#8748BF

#8748BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.182 H 305.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8748BF
RGBrgb(135, 72, 191)
HSLhsl(272, 48%, 52%)
HSVhsv(272, 62%, 75%)
CMYKcmyk(29.3%, 62.3%, 0%, 25.1%)
CIE-LABlab(43.58, 48.85, -52.35)
CIE-LCHlch(43.58, 71.60, 313.02°)
OKLaboklab(53.47% 0.1055 -0.1481)
OKLCHoklch(53.47% 0.182 305.5)
XYZxyz(21.7110, 13.5474, 50.7512)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748BF #80BF48
analogous
#4C48BF #8748BF #BF48BB
triadic
#8748BF #BF8748 #48BF87
tetradic
#8748BF #BF4C48 #80BF48 #48BBBF
square
#8748BF #BF4C48 #80BF48 #48BBBF
split-complementary
#8748BF #BBBF48 #48BF4C
monochromatic
#482468 #683496 #8748BF #A575CF #C2A3DF

Accessibility & contrast

On white

5.66
#8748BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8748BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748BF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748BF#FFFFFF#000000##FFFFFF
##8748BF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#7D607D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8748bf;
/* rgb */ color: rgb(135, 72, 191);
/* oklch */ color: oklch(53.5% 0.182 305.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ed3',
    500: '#8748bf',
    950: '#000000',
  },
}
SCSS
$custom: #8748bf;
$custom-light: #ae7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8748bf",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 271.765,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.18185,
    "h": 305.5
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#8748BF
secondary
#B0CC97
accent
#D85090
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8748BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8748BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva