#8968EF#8968EF

#8968EF is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.195 H 290.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8968EF
RGBrgb(137, 104, 239)
HSLhsl(255, 81%, 67%)
HSVhsv(255, 56%, 94%)
CMYKcmyk(42.7%, 56.5%, 0%, 6.3%)
CIE-LABlab(53.44, 44.29, -63.82)
CIE-LCHlch(53.44, 77.68, 304.76°)
OKLaboklab(61.71% 0.0692 -0.1818)
OKLCHoklch(61.71% 0.195 290.8)
XYZxyz(30.8425, 21.4500, 84.1598)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8968EF #CEEF68
analogous
#688AEF #8968EF #CD68EF
triadic
#8968EF #EF8968 #68EF89
tetradic
#8968EF #EF688A #CEEF68 #68EFCD
square
#8968EF #EF688A #CEEF68 #68EFCD
split-complementary
#8968EF #EFCD68 #8AEF68
monochromatic
#4115C7 #5E31E9 #8968EF #B49FF5 #DFD7FB

Accessibility & contrast

On white

3.97
#8968EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8968EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8968EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8968EF#FFFFFF#000000##000000
##8968EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1482F3
Deuteranopia (green-blind)
#207DEC
Tritanopia (blue-blind)
#6C86A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8968ef;
/* rgb */ color: rgb(137, 104, 239);
/* oklch */ color: oklch(61.7% 0.195 290.8);
Tailwind
colors: {
  custom: {
    50: '#b194f5',
    500: '#8968ef',
    950: '#000000',
  },
}
SCSS
$custom: #8968ef;
$custom-light: #b194f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8968ef",
  "rgb": {
    "r": 137,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 254.667,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.19454,
    "h": 290.8
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#8968EF
secondary
#E4EFC4
accent
#DD08A9
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8968EF

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

Preview Lab → · Contrast checker → · Palette generator →

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