#8768EB#8768EB

#8768EB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.190 H 290.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8768EB
RGBrgb(135, 104, 235)
HSLhsl(254, 77%, 66%)
HSVhsv(254, 56%, 92%)
CMYKcmyk(42.6%, 55.7%, 0%, 7.8%)
CIE-LABlab(53.00, 42.75, -62.30)
CIE-LCHlch(53.00, 75.56, 304.46°)
OKLaboklab(61.26% 0.0667 -0.1774)
OKLCHoklch(61.26% 0.19 290.6)
XYZxyz(29.9332, 21.0487, 81.0668)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8768EB #CCEB68
analogous
#688BEB #8768EB #C868EB
triadic
#8768EB #EB8768 #68EB87
tetradic
#8768EB #EB688B #CCEB68 #68EBC8
square
#8768EB #EB688B #CCEB68 #68EBC8
split-complementary
#8768EB #EBC868 #8BEB68
monochromatic
#4119BF #5C32E4 #8768EB #B29EF2 #DDD4F9

Accessibility & contrast

On white

4.03
#8768EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8768EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8768EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8768EB#FFFFFF#000000##000000
##8768EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81EF
Deuteranopia (green-blind)
#257CE8
Tritanopia (blue-blind)
#6A84A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8768eb;
/* rgb */ color: rgb(135, 104, 235);
/* oklch */ color: oklch(61.3% 0.190 290.6);
Tailwind
colors: {
  custom: {
    50: '#b094f2',
    500: '#8768eb',
    950: '#000000',
  },
}
SCSS
$custom: #8768eb;
$custom-light: #b094f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8768eb",
  "rgb": {
    "r": 135,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 254.198,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.18951,
    "h": 290.6
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#8768EB
secondary
#E3EDC2
accent
#D90DA9
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8768EB

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

Preview Lab → · Contrast checker → · Palette generator →

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