#8968EC#8968EC

#8968EC is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.5% C 0.191 H 291.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8968EC
RGBrgb(137, 104, 236)
HSLhsl(255, 78%, 67%)
HSVhsv(255, 56%, 93%)
CMYKcmyk(41.9%, 55.9%, 0%, 7.5%)
CIE-LABlab(53.25, 43.47, -62.45)
CIE-LCHlch(53.25, 76.09, 304.84°)
OKLaboklab(61.51% 0.0692 -0.1778)
OKLCHoklch(61.51% 0.191 291.3)
XYZxyz(30.4030, 21.2742, 81.8451)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8968EC #CBEC68
analogous
#6889EC #8968EC #CB68EC
triadic
#8968EC #EC8968 #68EC89
tetradic
#8968EC #EC6889 #CBEC68 #68ECCB
square
#8968EC #EC6889 #CBEC68 #68ECCB
split-complementary
#8968EC #ECCB68 #89EC68
monochromatic
#4318C1 #5F32E5 #8968EC #B39EF3 #DED5FA

Accessibility & contrast

On white

4.00
#8968EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8968EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8968EC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8968EC#FFFFFF#000000##000000
##8968EC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F0
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#6D85A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8968ec;
/* rgb */ color: rgb(137, 104, 236);
/* oklch */ color: oklch(61.5% 0.191 291.3);
Tailwind
colors: {
  custom: {
    50: '#b194f3',
    500: '#8968ec',
    950: '#000000',
  },
}
SCSS
$custom: #8968ec;
$custom-light: #b194f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8968ec",
  "rgb": {
    "r": 137,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 255,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.19078,
    "h": 291.3
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#8968EC
secondary
#E3EDC3
accent
#DA0CA6
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8968EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8968EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva