#8748B2#8748B2

#8748B2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.167 H 309.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8748B2
RGBrgb(135, 72, 178)
HSLhsl(276, 42%, 49%)
HSVhsv(276, 60%, 70%)
CMYKcmyk(24.2%, 59.6%, 0%, 30.2%)
CIE-LABlab(42.76, 45.80, -46.04)
CIE-LCHlch(42.76, 64.94, 314.85°)
OKLaboklab(52.61% 0.1057 -0.1296)
OKLCHoklch(52.61% 0.167 309.2)
XYZxyz(20.3433, 13.0003, 43.5485)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748B2 #73B248
analogous
#5248B2 #8748B2 #B248A8
triadic
#8748B2 #B28748 #48B287
tetradic
#8748B2 #B25248 #73B248 #48A8B2
square
#8748B2 #B25248 #73B248 #48A8B2
split-complementary
#8748B2 #A8B248 #48B252
monochromatic
#45255B #663686 #8748B2 #A471C6 #C09DD7

Accessibility & contrast

On white

5.83
#8748B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8748B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748B2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748B2#FFFFFF#000000##FFFFFF
##8748B21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#815C76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8748b2;
/* rgb */ color: rgb(135, 72, 178);
/* oklch */ color: oklch(52.6% 0.167 309.2);
Tailwind
colors: {
  custom: {
    50: '#ad7ec9',
    500: '#8748b2',
    950: '#000000',
  },
}
SCSS
$custom: #8748b2;
$custom-light: #ad7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8748b2",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 275.66,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.16727,
    "h": 309.2
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#8748B2
secondary
#A6C492
accent
#D25688
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8748B2

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

Preview Lab → · Contrast checker → · Palette generator →

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