#8768DC#8768DC

#8768DC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.170 H 292.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8768DC
RGBrgb(135, 104, 220)
HSLhsl(256, 62%, 64%)
HSVhsv(256, 53%, 86%)
CMYKcmyk(38.6%, 52.7%, 0%, 13.7%)
CIE-LABlab(52.08, 38.66, -55.34)
CIE-LCHlch(52.08, 67.51, 304.94°)
OKLaboklab(60.29% 0.0663 -0.1569)
OKLCHoklch(60.29% 0.17 292.9)
XYZxyz(27.8568, 20.2181, 70.1311)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8768DC #BDDC68
analogous
#6883DC #8768DC #C168DC
triadic
#8768DC #DC8768 #68DC87
tetradic
#8768DC #DC6883 #BDDC68 #68DCC1
square
#8768DC #DC6883 #BDDC68 #68DCC1
split-complementary
#8768DC #DCC168 #83DC68
monochromatic
#4826A4 #6036D0 #8768DC #AE9AE8 #D6CBF3

Accessibility & contrast

On white

4.16
#8768DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8768DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8768DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8768DC#FFFFFF#000000##000000
##8768DC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#718098
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8768dc;
/* rgb */ color: rgb(135, 104, 220);
/* oklch */ color: oklch(60.3% 0.170 292.9);
Tailwind
colors: {
  custom: {
    50: '#ae94e7',
    500: '#8768dc',
    950: '#000000',
  },
}
SCSS
$custom: #8768dc;
$custom-light: #ae94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8768dc",
  "rgb": {
    "r": 135,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 256.034,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60287,
    "c": 0.17035,
    "h": 292.9
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#8768DC
secondary
#D9E4BB
accent
#CA1B9B
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8768DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8768DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva