#8748BB#8748BB

#8748BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.177 H 306.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8748BB
RGBrgb(135, 72, 187)
HSLhsl(273, 46%, 51%)
HSVhsv(273, 61%, 73%)
CMYKcmyk(27.8%, 61.5%, 0%, 26.7%)
CIE-LABlab(43.32, 47.90, -50.43)
CIE-LCHlch(43.32, 69.55, 313.53°)
OKLaboklab(53.2% 0.1056 -0.1425)
OKLCHoklch(53.2% 0.177 306.6)
XYZxyz(21.2768, 13.3737, 48.4646)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748BB #7CBB48
analogous
#4D48BB #8748BB #BB48B5
triadic
#8748BB #BB8748 #48BB87
tetradic
#8748BB #BB4D48 #7CBB48 #48B5BB
square
#8748BB #BB4D48 #7CBB48 #48B5BB
split-complementary
#8748BB #B5BB48 #48BB4D
monochromatic
#472564 #673690 #8748BB #A475CC #C2A1DC

Accessibility & contrast

On white

5.71
#8748BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8748BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748BB#FFFFFF#000000##FFFFFF
##8748BB1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#7E5F7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8748bb;
/* rgb */ color: rgb(135, 72, 187);
/* oklch */ color: oklch(53.2% 0.177 306.6);
Tailwind
colors: {
  custom: {
    50: '#ae7ed0',
    500: '#8748bb',
    950: '#000000',
  },
}
SCSS
$custom: #8748bb;
$custom-light: #ae7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8748bb",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 272.87,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.17736,
    "h": 306.6
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#8748BB
secondary
#ADC996
accent
#D5528E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8748BB

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

Preview Lab → · Contrast checker → · Palette generator →

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