#8748BC#8748BC

#8748BC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.178 H 306.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8748BC
RGBrgb(135, 72, 188)
HSLhsl(273, 46%, 51%)
HSVhsv(273, 62%, 74%)
CMYKcmyk(28.2%, 61.7%, 0%, 26.3%)
CIE-LABlab(43.38, 48.14, -50.91)
CIE-LCHlch(43.38, 70.06, 313.40°)
OKLaboklab(53.26% 0.1056 -0.1439)
OKLCHoklch(53.26% 0.178 306.3)
XYZxyz(21.3842, 13.4167, 49.0303)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748BC #7DBC48
analogous
#4D48BC #8748BC #BC48B7
triadic
#8748BC #BC8748 #48BC87
tetradic
#8748BC #BC4D48 #7DBC48 #48B7BC
square
#8748BC #BC4D48 #7DBC48 #48B7BC
split-complementary
#8748BC #B7BC48 #48BC4D
monochromatic
#482565 #673592 #8748BC #A475CC #C2A2DD

Accessibility & contrast

On white

5.70
#8748BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8748BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748BC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748BC#FFFFFF#000000##FFFFFF
##8748BC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764C0
Deuteranopia (green-blind)
#3067B9
Tritanopia (blue-blind)
#7E5F7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8748bc;
/* rgb */ color: rgb(135, 72, 188);
/* oklch */ color: oklch(53.3% 0.178 306.3);
Tailwind
colors: {
  custom: {
    50: '#ae7ed1',
    500: '#8748bc',
    950: '#000000',
  },
}
SCSS
$custom: #8748bc;
$custom-light: #ae7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8748bc",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 272.586,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53265,
    "c": 0.17848,
    "h": 306.3
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#8748BC
secondary
#AECA96
accent
#D6528E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8748BC

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

Preview Lab → · Contrast checker → · Palette generator →

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