#8964EF#8964EF

#8964EF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.1% C 0.200 H 291.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8964EF
RGBrgb(137, 100, 239)
HSLhsl(256, 81%, 66%)
HSVhsv(256, 58%, 94%)
CMYKcmyk(42.7%, 58.2%, 0%, 6.3%)
CIE-LABlab(52.58, 46.52, -65.21)
CIE-LCHlch(52.58, 80.10, 305.50°)
OKLaboklab(61.08% 0.0737 -0.1859)
OKLCHoklch(61.08% 0.2 291.6)
XYZxyz(30.4494, 20.6638, 84.0288)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8964EF #CAEF64
analogous
#6485EF #8964EF #CF64EF
triadic
#8964EF #EF8964 #64EF89
tetradic
#8964EF #EF6485 #CAEF64 #64EFCF
square
#8964EF #EF6485 #CAEF64 #64EFCF
split-complementary
#8964EF #EFCF64 #85EF64
monochromatic
#4314C4 #5F2DE9 #8964EF #B39BF5 #DDD3FA

Accessibility & contrast

On white

4.09
#8964EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8964EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8964EF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8964EF#FFFFFF#000000##000000
##8964EF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0F7BEC
Tritanopia (blue-blind)
#6C83A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8964ef;
/* rgb */ color: rgb(137, 100, 239);
/* oklch */ color: oklch(61.1% 0.200 291.6);
Tailwind
colors: {
  custom: {
    50: '#b291f5',
    500: '#8964ef',
    950: '#000000',
  },
}
SCSS
$custom: #8964ef;
$custom-light: #b291f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8964ef",
  "rgb": {
    "r": 137,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 255.971,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.19998,
    "h": 291.6
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#8964EF
secondary
#E2EEC1
accent
#DE08A5
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8964EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8964EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva