#8968DC#8968DC

#8968DC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.170 H 293.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8968DC
RGBrgb(137, 104, 220)
HSLhsl(257, 62%, 64%)
HSVhsv(257, 53%, 86%)
CMYKcmyk(37.7%, 52.7%, 0%, 13.7%)
CIE-LABlab(52.27, 39.14, -55.03)
CIE-LCHlch(52.27, 67.53, 305.42°)
OKLaboklab(60.47% 0.0688 -0.156)
OKLCHoklch(60.47% 0.17 293.8)
XYZxyz(28.1817, 20.3857, 70.1463)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8968DC #BBDC68
analogous
#6881DC #8968DC #C368DC
triadic
#8968DC #DC8968 #68DC89
tetradic
#8968DC #DC6881 #BBDC68 #68DCC3
square
#8968DC #DC6881 #BBDC68 #68DCC3
split-complementary
#8968DC #DCC368 #81DC68
monochromatic
#4A26A4 #6236D0 #8968DC #B09AE8 #D7CBF3

Accessibility & contrast

On white

4.14
#8968DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8968DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8968DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8968DC#FFFFFF#000000##000000
##8968DC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#748098
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8968dc;
/* rgb */ color: rgb(137, 104, 220);
/* oklch */ color: oklch(60.5% 0.170 293.8);
Tailwind
colors: {
  custom: {
    50: '#b094e7',
    500: '#8968dc',
    950: '#000000',
  },
}
SCSS
$custom: #8968dc;
$custom-light: #b094e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8968dc",
  "rgb": {
    "r": 137,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 257.069,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60471,
    "c": 0.17045,
    "h": 293.8
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#8968DC
secondary
#D9E4BB
accent
#CA1B98
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8968DC

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

Preview Lab → · Contrast checker → · Palette generator →

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