#8747DB#8747DB

#8747DB is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.214 H 299.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8747DB
RGBrgb(135, 71, 219)
HSLhsl(266, 67%, 57%)
HSVhsv(266, 68%, 86%)
CMYKcmyk(38.4%, 67.6%, 0%, 14.1%)
CIE-LABlab(45.32, 56.17, -65.68)
CIE-LCHlch(45.32, 86.42, 310.54°)
OKLaboklab(55.33% 0.1039 -0.1873)
OKLCHoklch(55.33% 0.214 299)
XYZxyz(25.0279, 14.7715, 68.5367)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747DB #9BDB47
analogous
#4751DB #8747DB #D147DB
triadic
#8747DB #DB8747 #47DB87
tetradic
#8747DB #DB4751 #9BDB47 #47DBD1
square
#8747DB #DB4751 #9BDB47 #47DBD1
split-complementary
#8747DB #DBD147 #51DB47
monochromatic
#4C1B8C #6825BF #8747DB #A87AE5 #CAADEF

Accessibility & contrast

On white

5.31
#8747DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8747DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747DB#FFFFFF#000000##FFFFFF
##8747DB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#736A8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8747db;
/* rgb */ color: rgb(135, 71, 219);
/* oklch */ color: oklch(55.3% 0.214 299.0);
Tailwind
colors: {
  custom: {
    50: '#b07fe7',
    500: '#8747db',
    950: '#000000',
  },
}
SCSS
$custom: #8747db;
$custom-light: #b07fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8747db",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 265.946,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.2142,
    "h": 299
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#8747DB
secondary
#C3DDA1
accent
#EA3EA0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8747DB

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

Preview Lab → · Contrast checker → · Palette generator →

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