#8748CF#8748CF

#8748CF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.200 H 301.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8748CF
RGBrgb(135, 72, 207)
HSLhsl(268, 58%, 55%)
HSVhsv(268, 65%, 81%)
CMYKcmyk(34.8%, 65.2%, 0%, 18.8%)
CIE-LABlab(44.65, 52.72, -59.89)
CIE-LCHlch(44.65, 79.79, 311.35°)
OKLaboklab(54.58% 0.1043 -0.1703)
OKLCHoklch(54.58% 0.2 301.5)
XYZxyz(23.5688, 14.2905, 60.5360)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748CF #90CF48
analogous
#484CCF #8748CF #CB48CF
triadic
#8748CF #CF8748 #48CF87
tetradic
#8748CF #CF484C #90CF48 #48CFCB
square
#8748CF #CF484C #90CF48 #48CFCB
split-complementary
#8748CF #CFCB48 #4CCF48
monochromatic
#4B217C #692DAD #8748CF #A778DC #C7A9E8

Accessibility & contrast

On white

5.44
#8748CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8748CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748CF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748CF#FFFFFF#000000##FFFFFF
##8748CF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0869CC
Tritanopia (blue-blind)
#786685
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8748cf;
/* rgb */ color: rgb(135, 72, 207);
/* oklch */ color: oklch(54.6% 0.200 301.5);
Tailwind
colors: {
  custom: {
    50: '#af7fde',
    500: '#8748cf',
    950: '#000000',
  },
}
SCSS
$custom: #8748cf;
$custom-light: #af7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8748cf",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 268,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.19969,
    "h": 301.5
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#8748CF
secondary
#BBD69D
accent
#E24699
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8748CF

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

Preview Lab → · Contrast checker → · Palette generator →

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