#8768DF#8768DF

#8768DF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.174 H 292.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8768DF
RGBrgb(135, 104, 223)
HSLhsl(256, 65%, 64%)
HSVhsv(256, 53%, 87%)
CMYKcmyk(39.5%, 53.4%, 0%, 12.5%)
CIE-LABlab(52.26, 39.48, -56.74)
CIE-LCHlch(52.26, 69.12, 304.83°)
OKLaboklab(60.48% 0.0664 -0.1611)
OKLCHoklch(60.48% 0.174 292.4)
XYZxyz(28.2577, 20.3785, 72.2423)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8768DF #C0DF68
analogous
#6885DF #8768DF #C268DF
triadic
#8768DF #DF8768 #68DF87
tetradic
#8768DF #DF6885 #C0DF68 #68DFC2
square
#8768DF #DF6885 #C0DF68 #68DFC2
split-complementary
#8768DF #DFC268 #85DF68
monochromatic
#4624A9 #5F36D4 #8768DF #AF9BEA #D7CDF4

Accessibility & contrast

On white

4.14
#8768DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8768DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8768DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8768DF#FFFFFF#000000##000000
##8768DF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327EE3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#70819A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8768df;
/* rgb */ color: rgb(135, 104, 223);
/* oklch */ color: oklch(60.5% 0.174 292.4);
Tailwind
colors: {
  custom: {
    50: '#af94ea',
    500: '#8768df',
    950: '#000000',
  },
}
SCSS
$custom: #8768df;
$custom-light: #af94ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8768df",
  "rgb": {
    "r": 135,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 255.63,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60478,
    "c": 0.17421,
    "h": 292.4
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#8768DF
secondary
#DBE6BD
accent
#CD199E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8768DF

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

Preview Lab → · Contrast checker → · Palette generator →

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