#8727CD#8727CD

#8727CD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 51.0% C 0.234 H 305.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8727CD
RGBrgb(135, 39, 205)
HSLhsl(275, 68%, 48%)
HSVhsv(275, 81%, 80%)
CMYKcmyk(34.1%, 81%, 0%, 19.6%)
CIE-LABlab(39.60, 66.11, -66.94)
CIE-LCHlch(39.60, 94.08, 314.64°)
OKLaboklab(50.96% 0.135 -0.1908)
OKLCHoklch(50.96% 0.234 305.3)
XYZxyz(21.7341, 11.0099, 58.7259)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727CD #6DCD27
analogous
#3427CD #8727CD #CD27C0
triadic
#8727CD #CD8727 #27CD87
tetradic
#8727CD #CD3427 #6DCD27 #27C0CD
square
#8727CD #CD3427 #6DCD27 #27C0CD
split-complementary
#8727CD #C0CD27 #27CD34
monochromatic
#431366 #651D9A #8727CD #A453DE #BF86E8

Accessibility & contrast

On white

6.56
#8727CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8727CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8727CD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727CD#FFFFFF#000000##FFFFFF
##8727CD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#7A557C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8727cd;
/* rgb */ color: rgb(135, 39, 205);
/* oklch */ color: oklch(51.0% 0.234 305.3);
Tailwind
colors: {
  custom: {
    50: '#b06edd',
    500: '#8727cd',
    950: '#000000',
  },
}
SCSS
$custom: #8727cd;
$custom-light: #b06edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8727cd",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 205
  },
  "hsl": {
    "h": 274.699,
    "s": 68.033,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.23374,
    "h": 305.3
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#8727CD
secondary
#A1D17E
accent
#EB3D86
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8727CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8727CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva