#8748CA#8748CA

#8748CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.194 H 302.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8748CA
RGBrgb(135, 72, 202)
HSLhsl(269, 55%, 54%)
HSVhsv(269, 64%, 79%)
CMYKcmyk(33.2%, 64.4%, 0%, 20.8%)
CIE-LABlab(44.30, 51.50, -57.56)
CIE-LCHlch(44.30, 77.23, 311.82°)
OKLaboklab(54.22% 0.1048 -0.1634)
OKLCHoklch(54.22% 0.194 302.7)
XYZxyz(22.9672, 14.0499, 57.3676)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748CA #8BCA48
analogous
#484ACA #8748CA #C848CA
triadic
#8748CA #CA8748 #48CA87
tetradic
#8748CA #CA484A #8BCA48 #48CAC8
square
#8748CA #CA484A #8BCA48 #48CAC8
split-complementary
#8748CA #CAC848 #4ACA48
monochromatic
#4B2276 #6930A5 #8748CA #A677D8 #C5A7E5

Accessibility & contrast

On white

5.51
#8748CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8748CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748CA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748CA#FFFFFF#000000##FFFFFF
##8748CA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#1A68C7
Tritanopia (blue-blind)
#7A6483
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8748ca;
/* rgb */ color: rgb(135, 72, 202);
/* oklch */ color: oklch(54.2% 0.194 302.7);
Tailwind
colors: {
  custom: {
    50: '#af7fdb',
    500: '#8748ca',
    950: '#000000',
  },
}
SCSS
$custom: #8748ca;
$custom-light: #af7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8748ca",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 269.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.19413,
    "h": 302.7
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#8748CA
secondary
#B8D39B
accent
#DE4996
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8748CA

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

Preview Lab → · Contrast checker → · Palette generator →

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