#8748DB#8748DB

#8748DB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.213 H 298.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8748DB
RGBrgb(135, 72, 219)
HSLhsl(266, 67%, 57%)
HSVhsv(266, 67%, 86%)
CMYKcmyk(38.4%, 67.1%, 0%, 14.1%)
CIE-LABlab(45.50, 55.68, -65.39)
CIE-LCHlch(45.50, 85.89, 310.41°)
OKLaboklab(55.46% 0.1029 -0.1865)
OKLCHoklch(55.46% 0.213 298.9)
XYZxyz(25.0920, 14.8998, 68.5581)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748DB #9CDB48
analogous
#4853DB #8748DB #D048DB
triadic
#8748DB #DB8748 #48DB87
tetradic
#8748DB #DB4853 #9CDB48 #48DBD0
square
#8748DB #DB4853 #9CDB48 #48DBD0
split-complementary
#8748DB #DBD048 #53DB48
monochromatic
#4C1C8D #6826C0 #8748DB #A97BE5 #CAAEEF

Accessibility & contrast

On white

5.28
#8748DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8748DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748DB#FFFFFF#000000##FFFFFF
##8748DB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#736B8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8748db;
/* rgb */ color: rgb(135, 72, 219);
/* oklch */ color: oklch(55.5% 0.213 298.9);
Tailwind
colors: {
  custom: {
    50: '#b07fe7',
    500: '#8748db',
    950: '#000000',
  },
}
SCSS
$custom: #8748db;
$custom-light: #b07fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8748db",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 265.714,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.21297,
    "h": 298.9
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#8748DB
secondary
#C4DDA2
accent
#EA3EA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8748DB

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

Preview Lab → · Contrast checker → · Palette generator →

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