#8968CC#8968CC

#8968CC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.5% C 0.150 H 296.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8968CC
RGBrgb(137, 104, 204)
HSLhsl(260, 50%, 60%)
HSVhsv(260, 49%, 80%)
CMYKcmyk(32.8%, 49%, 0%, 20%)
CIE-LABlab(51.36, 34.92, -47.39)
CIE-LCHlch(51.36, 58.87, 306.38°)
OKLaboklab(59.5% 0.0676 -0.1336)
OKLCHoklch(59.5% 0.15 296.8)
XYZxyz(26.1632, 19.5783, 59.5156)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8968CC #ABCC68
analogous
#6879CC #8968CC #BB68CC
triadic
#8968CC #CC8968 #68CC89
tetradic
#8968CC #CC6879 #ABCC68 #68CCBB
square
#8968CC #CC6879 #ABCC68 #68CCBB
split-complementary
#8968CC #CCBB68 #79CC68
monochromatic
#4D2F8B #673EB8 #8968CC #AD96DB #D1C3EB

Accessibility & contrast

On white

4.27
#8968CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8968CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8968CC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8968CC#FFFFFF#000000##000000
##8968CC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#7A7B90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8968cc;
/* rgb */ color: rgb(137, 104, 204);
/* oklch */ color: oklch(59.5% 0.150 296.8);
Tailwind
colors: {
  custom: {
    50: '#ae94dc',
    500: '#8968cc',
    950: '#000000',
  },
}
SCSS
$custom: #8968cc;
$custom-light: #ae94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8968cc",
  "rgb": {
    "r": 137,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 259.8,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.14971,
    "h": 296.8
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#8968CC
secondary
#CEDBB5
accent
#BD298C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8968CC

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

Preview Lab → · Contrast checker → · Palette generator →

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