#8968EB#8968EB

#8968EB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.190 H 291.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8968EB
RGBrgb(137, 104, 235)
HSLhsl(255, 77%, 66%)
HSVhsv(255, 56%, 92%)
CMYKcmyk(41.7%, 55.7%, 0%, 7.8%)
CIE-LABlab(53.19, 43.19, -62.00)
CIE-LCHlch(53.19, 75.56, 304.87°)
OKLaboklab(61.44% 0.0692 -0.1764)
OKLCHoklch(61.44% 0.19 291.4)
XYZxyz(30.2581, 21.2162, 81.0820)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8968EB #CAEB68
analogous
#6889EB #8968EB #CB68EB
triadic
#8968EB #EB8968 #68EB89
tetradic
#8968EB #EB6889 #CAEB68 #68EBCB
square
#8968EB #EB6889 #CAEB68 #68EBCB
split-complementary
#8968EB #EBCB68 #89EB68
monochromatic
#4319BF #5F32E4 #8968EB #B39EF2 #DDD4F9

Accessibility & contrast

On white

4.01
#8968EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8968EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8968EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8968EB#FFFFFF#000000##000000
##8968EB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EF
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#6E84A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8968eb;
/* rgb */ color: rgb(137, 104, 235);
/* oklch */ color: oklch(61.4% 0.190 291.4);
Tailwind
colors: {
  custom: {
    50: '#b194f2',
    500: '#8968eb',
    950: '#000000',
  },
}
SCSS
$custom: #8968eb;
$custom-light: #b194f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8968eb",
  "rgb": {
    "r": 137,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 255.115,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.18952,
    "h": 291.4
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#8968EB
secondary
#E2EDC2
accent
#D90DA5
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8968EB

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

Preview Lab → · Contrast checker → · Palette generator →

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