#8768EF#8768EF

#8768EF is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.5% C 0.195 H 290.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8768EF
RGBrgb(135, 104, 239)
HSLhsl(254, 81%, 67%)
HSVhsv(254, 56%, 94%)
CMYKcmyk(43.5%, 56.5%, 0%, 6.3%)
CIE-LABlab(53.26, 43.86, -64.13)
CIE-LCHlch(53.26, 77.69, 304.37°)
OKLaboklab(61.53% 0.0667 -0.1828)
OKLCHoklch(61.53% 0.195 290.1)
XYZxyz(30.5176, 21.2825, 84.1446)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8768EF #D0EF68
analogous
#688CEF #8768EF #CB68EF
triadic
#8768EF #EF8768 #68EF87
tetradic
#8768EF #EF688C #D0EF68 #68EFCB
square
#8768EF #EF688C #D0EF68 #68EFCB
split-complementary
#8768EF #EFCB68 #8CEF68
monochromatic
#3E15C7 #5B31E9 #8768EF #B39FF5 #DFD7FB

Accessibility & contrast

On white

3.99
#8768EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8768EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8768EF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8768EF#FFFFFF#000000##000000
##8768EF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1182F3
Deuteranopia (green-blind)
#1C7CEC
Tritanopia (blue-blind)
#6886A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8768ef;
/* rgb */ color: rgb(135, 104, 239);
/* oklch */ color: oklch(61.5% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#b094f5',
    500: '#8768ef',
    950: '#000000',
  },
}
SCSS
$custom: #8768ef;
$custom-light: #b094f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8768ef",
  "rgb": {
    "r": 135,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 253.778,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61532,
    "c": 0.19456,
    "h": 290.1
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#8768EF
secondary
#E5EFC4
accent
#DD08AC
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8768EF

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

Preview Lab → · Contrast checker → · Palette generator →

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