#8748E3#8748E3

#8748E3 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.222 H 297.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8748E3
RGBrgb(135, 72, 227)
HSLhsl(264, 73%, 59%)
HSVhsv(264, 68%, 89%)
CMYKcmyk(40.5%, 68.3%, 0%, 11%)
CIE-LABlab(46.08, 57.68, -68.99)
CIE-LCHlch(46.08, 89.92, 309.90°)
OKLaboklab(56.06% 0.1017 -0.197)
OKLCHoklch(56.06% 0.222 297.3)
XYZxyz(26.1706, 15.3312, 74.2385)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748E3 #A4E348
analogous
#4856E3 #8748E3 #D448E3
triadic
#8748E3 #E38748 #48E387
tetradic
#8748E3 #E34856 #A4E348 #48E3D4
square
#8748E3 #E34856 #A4E348 #48E3D4
split-complementary
#8748E3 #E3D448 #56E348
monochromatic
#4C1799 #6720CE #8748E3 #AA7DEB #CDB2F3

Accessibility & contrast

On white

5.16
#8748E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8748E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748E3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748E3#FFFFFF#000000##FFFFFF
##8748E31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#706E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8748e3;
/* rgb */ color: rgb(135, 72, 227);
/* oklch */ color: oklch(56.1% 0.222 297.3);
Tailwind
colors: {
  custom: {
    50: '#b17fed',
    500: '#8748e3',
    950: '#000000',
  },
}
SCSS
$custom: #8748e3;
$custom-light: #b17fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8748e3",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 264.387,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.22175,
    "h": 297.3
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

primary
#8748E3
secondary
#C9E2A5
accent
#F038A5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8748E3

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

Preview Lab → · Contrast checker → · Palette generator →

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