#8768E8#8768E8

#8768E8 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.186 H 291.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8768E8
RGBrgb(135, 104, 232)
HSLhsl(255, 74%, 66%)
HSVhsv(255, 55%, 91%)
CMYKcmyk(41.8%, 55.2%, 0%, 9%)
CIE-LABlab(52.81, 41.93, -60.92)
CIE-LCHlch(52.81, 73.96, 304.54°)
OKLaboklab(61.06% 0.0667 -0.1733)
OKLCHoklch(61.06% 0.186 291)
XYZxyz(29.5035, 20.8768, 78.8034)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8768E8 #C9E868
analogous
#6889E8 #8768E8 #C768E8
triadic
#8768E8 #E88768 #68E887
tetradic
#8768E8 #E86889 #C9E868 #68E8C7
square
#8768E8 #E86889 #C9E868 #68E8C7
split-complementary
#8768E8 #E8C768 #89E868
monochromatic
#421CB9 #5D33E0 #8768E8 #B19DF0 #DBD2F8

Accessibility & contrast

On white

4.06
#8768E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8768E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8768E8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8768E8#FFFFFF#000000##000000
##8768E81.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2480EC
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#6C849E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8768e8;
/* rgb */ color: rgb(135, 104, 232);
/* oklch */ color: oklch(61.1% 0.186 291.0);
Tailwind
colors: {
  custom: {
    50: '#af94f0',
    500: '#8768e8',
    950: '#000000',
  },
}
SCSS
$custom: #8768e8;
$custom-light: #af94f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8768e8",
  "rgb": {
    "r": 135,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 254.531,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.18571,
    "h": 291
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#8768E8
secondary
#E1EBC1
accent
#D610A6
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8768E8

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

Preview Lab → · Contrast checker → · Palette generator →

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