#8968E7#8968E7

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

Color values

HEX#8968E7
RGBrgb(137, 104, 231)
HSLhsl(256, 73%, 66%)
HSVhsv(256, 55%, 91%)
CMYKcmyk(40.7%, 55%, 0%, 9.4%)
CIE-LABlab(52.94, 42.11, -60.15)
CIE-LCHlch(52.94, 73.43, 304.99°)
OKLaboklab(61.18% 0.0692 -0.171)
OKLCHoklch(61.18% 0.184 292)
XYZxyz(29.6867, 20.9877, 78.0727)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8968E7 #C6E768
analogous
#6886E7 #8968E7 #C968E7
triadic
#8968E7 #E78968 #68E789
tetradic
#8968E7 #E76886 #C6E768 #68E7C9
square
#8968E7 #E76886 #C6E768 #68E7C9
split-complementary
#8968E7 #E7C968 #86E768
monochromatic
#451DB7 #6033DF #8968E7 #B29DEF #DCD2F8

Accessibility & contrast

On white

4.04
#8968E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8968E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8968E7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8968E7#FFFFFF#000000##000000
##8968E71.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)
#2780EB
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#70839E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8968e7;
/* rgb */ color: rgb(137, 104, 231);
/* oklch */ color: oklch(61.2% 0.184 292.0);
Tailwind
colors: {
  custom: {
    50: '#b194ef',
    500: '#8968e7',
    950: '#000000',
  },
}
SCSS
$custom: #8968e7;
$custom-light: #b194ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8968e7",
  "rgb": {
    "r": 137,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 255.591,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61178,
    "c": 0.18447,
    "h": 292
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#8968E7
secondary
#E0EBC0
accent
#D511A2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8968E7

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

Preview Lab → · Contrast checker → · Palette generator →

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