#8768EA#8768EA

#8768EA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.188 H 290.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8768EA
RGBrgb(135, 104, 234)
HSLhsl(254, 76%, 66%)
HSVhsv(254, 56%, 92%)
CMYKcmyk(42.3%, 55.6%, 0%, 8.2%)
CIE-LABlab(52.94, 42.48, -61.84)
CIE-LCHlch(52.94, 75.02, 304.49°)
OKLaboklab(61.2% 0.0667 -0.176)
OKLCHoklch(61.2% 0.188 290.8)
XYZxyz(29.7892, 20.9911, 80.3081)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8768EA #CBEA68
analogous
#688AEA #8768EA #C868EA
triadic
#8768EA #EA8768 #68EA87
tetradic
#8768EA #EA688A #CBEA68 #68EAC8
square
#8768EA #EA688A #CBEA68 #68EAC8
split-complementary
#8768EA #EAC868 #8AEA68
monochromatic
#411ABD #5C32E3 #8768EA #B29EF1 #DCD3F9

Accessibility & contrast

On white

4.04
#8768EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8768EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8768EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8768EA#FFFFFF#000000##000000
##8768EA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EE
Deuteranopia (green-blind)
#277CE7
Tritanopia (blue-blind)
#6B849F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8768ea;
/* rgb */ color: rgb(135, 104, 234);
/* oklch */ color: oklch(61.2% 0.188 290.8);
Tailwind
colors: {
  custom: {
    50: '#b094f1',
    500: '#8768ea',
    950: '#000000',
  },
}
SCSS
$custom: #8768ea;
$custom-light: #b094f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8768ea",
  "rgb": {
    "r": 135,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 254.308,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.18825,
    "h": 290.8
  },
  "luminance": 0.20992
}

Semantic roles & 50–950 ramp

primary
#8768EA
secondary
#E2ECC2
accent
#D80EA8
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8768EA

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

Preview Lab → · Contrast checker → · Palette generator →

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