#8768E2#8768E2

#8768E2 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.178 H 291.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8768E2
RGBrgb(135, 104, 226)
HSLhsl(255, 68%, 65%)
HSVhsv(255, 54%, 89%)
CMYKcmyk(40.3%, 54%, 0%, 11.4%)
CIE-LABlab(52.44, 40.29, -58.14)
CIE-LCHlch(52.44, 70.74, 304.72°)
OKLaboklab(60.67% 0.0665 -0.1652)
OKLCHoklch(60.67% 0.178 291.9)
XYZxyz(28.6657, 20.5417, 74.3914)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8768E2 #C3E268
analogous
#6886E2 #8768E2 #C468E2
triadic
#8768E2 #E28768 #68E287
tetradic
#8768E2 #E26886 #C3E268 #68E2C4
square
#8768E2 #E26886 #C3E268 #68E2C4
split-complementary
#8768E2 #E2C468 #86E268
monochromatic
#4521AE #5E35D8 #8768E2 #B09BEC #D9CFF6

Accessibility & contrast

On white

4.11
#8768E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8768E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8768E2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8768E2#FFFFFF#000000##000000
##8768E21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE6
Deuteranopia (green-blind)
#347BDF
Tritanopia (blue-blind)
#6F829B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8768e2;
/* rgb */ color: rgb(135, 104, 226);
/* oklch */ color: oklch(60.7% 0.178 291.9);
Tailwind
colors: {
  custom: {
    50: '#af94ec',
    500: '#8768e2',
    950: '#000000',
  },
}
SCSS
$custom: #8768e2;
$custom-light: #af94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8768e2",
  "rgb": {
    "r": 135,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 255.246,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60672,
    "c": 0.17807,
    "h": 291.9
  },
  "luminance": 0.20543
}

Semantic roles & 50–950 ramp

primary
#8768E2
secondary
#DDE8BE
accent
#D016A0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8768E2

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

Preview Lab → · Contrast checker → · Palette generator →

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