#8C6ECF#8C6ECF

#8C6ECF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.0% C 0.145 H 296.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8C6ECF
RGBrgb(140, 110, 207)
HSLhsl(259, 50%, 62%)
HSVhsv(259, 47%, 81%)
CMYKcmyk(32.4%, 46.9%, 0%, 18.8%)
CIE-LABlab(53.20, 33.02, -46.15)
CIE-LCHlch(53.20, 56.75, 305.58°)
OKLaboklab(61% 0.0636 -0.1299)
OKLCHoklch(61% 0.145 296.1)
XYZxyz(27.6508, 21.2319, 61.6608)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C6ECF #B1CF6E
analogous
#6E81CF #8C6ECF #BD6ECF
triadic
#8C6ECF #CF8C6E #6ECF8C
tetradic
#8C6ECF #CF6E81 #B1CF6E #6ECFBD
square
#8C6ECF #CF6E81 #B1CF6E #6ECFBD
split-complementary
#8C6ECF #CFBD6E #81CF6E
monochromatic
#4F3092 #6840C0 #8C6ECF #B09CDE #D5CAED

Accessibility & contrast

On white

4.00
#8C6ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8C6ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C6ECF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C6ECF#FFFFFF#000000##000000
##8C6ECF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#547ECD
Tritanopia (blue-blind)
#7D8095
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c6ecf;
/* rgb */ color: rgb(140, 110, 207);
/* oklch */ color: oklch(61.0% 0.145 296.1);
Tailwind
colors: {
  custom: {
    50: '#b098de',
    500: '#8c6ecf',
    950: '#000000',
  },
}
SCSS
$custom: #8c6ecf;
$custom-light: #b098de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c6ecf",
  "rgb": {
    "r": 140,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 258.557,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.14464,
    "h": 296.1
  },
  "luminance": 0.21232
}

Semantic roles & 50–950 ramp

primary
#8C6ECF
secondary
#D3DEBB
accent
#BE288F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8C6ECF

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

Preview Lab → · Contrast checker → · Palette generator →

#8C6ECF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva