#8748CB#8748CB

#8748CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.195 H 302.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8748CB
RGBrgb(135, 72, 203)
HSLhsl(269, 56%, 54%)
HSVhsv(269, 65%, 80%)
CMYKcmyk(33.5%, 64.5%, 0%, 20.4%)
CIE-LABlab(44.37, 51.74, -58.03)
CIE-LCHlch(44.37, 77.75, 311.72°)
OKLaboklab(54.3% 0.1047 -0.1648)
OKLCHoklch(54.3% 0.195 302.4)
XYZxyz(23.0860, 14.0974, 57.9932)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748CB #8CCB48
analogous
#484BCB #8748CB #C948CB
triadic
#8748CB #CB8748 #48CB87
tetradic
#8748CB #CB484B #8CCB48 #48CBC9
square
#8748CB #CB484B #8CCB48 #48CBC9
split-complementary
#8748CB #CBC948 #4BCB48
monochromatic
#4B2277 #692FA6 #8748CB #A678D9 #C6A7E6

Accessibility & contrast

On white

5.50
#8748CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8748CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748CB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748CB#FFFFFF#000000##FFFFFF
##8748CB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#1768C8
Tritanopia (blue-blind)
#796583
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8748cb;
/* rgb */ color: rgb(135, 72, 203);
/* oklch */ color: oklch(54.3% 0.195 302.4);
Tailwind
colors: {
  custom: {
    50: '#af7fdc',
    500: '#8748cb',
    950: '#000000',
  },
}
SCSS
$custom: #8748cb;
$custom-light: #af7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8748cb",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 268.855,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.19525,
    "h": 302.4
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8748CB

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

Preview Lab → · Contrast checker → · Palette generator →

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