#8C77DF#8C77DF

#8C77DF is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.5% C 0.152 H 290.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8C77DF
RGBrgb(140, 119, 223)
HSLhsl(252, 62%, 67%)
HSVhsv(252, 47%, 87%)
CMYKcmyk(37.2%, 46.6%, 0%, 12.5%)
CIE-LABlab(56.18, 32.03, -50.45)
CIE-LCHlch(56.18, 59.76, 302.41°)
OKLaboklab(63.52% 0.0538 -0.1425)
OKLCHoklch(63.52% 0.152 290.7)
XYZxyz(30.7278, 24.0960, 72.8298)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C77DF #CADF77
analogous
#7796DF #8C77DF #C077DF
triadic
#8C77DF #DF8C77 #77DF8C
tetradic
#8C77DF #DF7796 #CADF77 #77DFC0
square
#8C77DF #DF7796 #CADF77 #77DFC0
split-complementary
#8C77DF #DFC077 #96DF77
monochromatic
#452AB2 #6245D3 #8C77DF #B6A9EB #E0DAF6

Accessibility & contrast

On white

3.61
#8C77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8C77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C77DF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C77DF#FFFFFF#000000##000000
##8C77DF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E3
Deuteranopia (green-blind)
#5384DD
Tritanopia (blue-blind)
#778BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c77df;
/* rgb */ color: rgb(140, 119, 223);
/* oklch */ color: oklch(63.5% 0.152 290.7);
Tailwind
colors: {
  custom: {
    50: '#b19ee9',
    500: '#8c77df',
    950: '#000000',
  },
}
SCSS
$custom: #8c77df;
$custom-light: #b19ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c77df",
  "rgb": {
    "r": 140,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 252.115,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63516,
    "c": 0.15228,
    "h": 290.7
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#8C77DF
secondary
#E3E9C8
accent
#CA1CA7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8C77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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