#8968E4#8968E4

#8968E4 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.181 H 292.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8968E4
RGBrgb(137, 104, 228)
HSLhsl(256, 70%, 65%)
HSVhsv(256, 54%, 89%)
CMYKcmyk(39.9%, 54.4%, 0%, 10.6%)
CIE-LABlab(52.75, 41.29, -58.77)
CIE-LCHlch(52.75, 71.82, 305.09°)
OKLaboklab(60.98% 0.0691 -0.1669)
OKLCHoklch(60.98% 0.181 292.5)
XYZxyz(29.2667, 20.8197, 75.8604)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8968E4 #C3E468
analogous
#6885E4 #8968E4 #C768E4
triadic
#8968E4 #E48968 #68E489
tetradic
#8968E4 #E46885 #C3E468 #68E4C7
square
#8968E4 #E46885 #C3E468 #68E4C7
split-complementary
#8968E4 #E4C768 #85E468
monochromatic
#4720B2 #6034DB #8968E4 #B29CED #DAD0F7

Accessibility & contrast

On white

4.07
#8968E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8968E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8968E4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8968E4#FFFFFF#000000##000000
##8968E41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E8
Deuteranopia (green-blind)
#347CE1
Tritanopia (blue-blind)
#71829C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8968e4;
/* rgb */ color: rgb(137, 104, 228);
/* oklch */ color: oklch(61.0% 0.181 292.5);
Tailwind
colors: {
  custom: {
    50: '#b094ed',
    500: '#8968e4',
    950: '#000000',
  },
}
SCSS
$custom: #8968e4;
$custom-light: #b094ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8968e4",
  "rgb": {
    "r": 137,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 255.968,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.18067,
    "h": 292.5
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#8968E4
secondary
#DEE9BF
accent
#D2149F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8968E4

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

Preview Lab → · Contrast checker → · Palette generator →

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