#8961EC#8961EC

#8961EC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.4% C 0.200 H 292.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8961EC
RGBrgb(137, 97, 236)
HSLhsl(257, 79%, 65%)
HSVhsv(257, 59%, 93%)
CMYKcmyk(41.9%, 58.9%, 0%, 7.5%)
CIE-LABlab(51.75, 47.37, -64.87)
CIE-LCHlch(51.75, 80.33, 306.14°)
OKLaboklab(60.41% 0.0772 -0.1849)
OKLCHoklch(60.41% 0.2 292.7)
XYZxyz(29.7274, 19.9230, 81.6199)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8961EC #C4EC61
analogous
#617FEC #8961EC #CE61EC
triadic
#8961EC #EC8961 #61EC89
tetradic
#8961EC #EC617F #C4EC61 #61ECCE
square
#8961EC #EC617F #C4EC61 #61ECCE
split-complementary
#8961EC #ECCE61 #7FEC61
monochromatic
#4617BC #602AE5 #8961EC #B298F3 #DBCEF9

Accessibility & contrast

On white

4.21
#8961EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8961EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8961EC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8961EC#FFFFFF#000000##000000
##8961EC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#0C79E9
Tritanopia (blue-blind)
#6E809D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8961ec;
/* rgb */ color: rgb(137, 97, 236);
/* oklch */ color: oklch(60.4% 0.200 292.7);
Tailwind
colors: {
  custom: {
    50: '#b18ff3',
    500: '#8961ec',
    950: '#000000',
  },
}
SCSS
$custom: #8961ec;
$custom-light: #b18ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8961ec",
  "rgb": {
    "r": 137,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 257.266,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.20034,
    "h": 292.7
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#8961EC
secondary
#DEECBD
accent
#DB0B9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8961EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8961EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva