#8960F2#8960F2

#8960F2 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.209 H 291.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8960F2
RGBrgb(137, 96, 242)
HSLhsl(257, 85%, 66%)
HSVhsv(257, 60%, 95%)
CMYKcmyk(43.4%, 60.3%, 0%, 5.1%)
CIE-LABlab(51.94, 49.54, -67.91)
CIE-LCHlch(51.94, 84.06, 306.11°)
OKLaboklab(60.68% 0.078 -0.1938)
OKLCHoklch(60.68% 0.209 291.9)
XYZxyz(30.5220, 20.0940, 86.2575)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960F2 #C9F260
analogous
#6080F2 #8960F2 #D260F2
triadic
#8960F2 #F28960 #60F289
tetradic
#8960F2 #F26080 #C9F260 #60F2D2
square
#8960F2 #F26080 #C9F260 #60F2D2
split-complementary
#8960F2 #F2D260 #80F260
monochromatic
#4410C7 #5F27ED #8960F2 #B399F7 #DDD1FB

Accessibility & contrast

On white

4.18
#8960F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8960F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960F2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960F2#FFFFFF#000000##000000
##8960F21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#6B81A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8960f2;
/* rgb */ color: rgb(137, 96, 242);
/* oklch */ color: oklch(60.7% 0.209 291.9);
Tailwind
colors: {
  custom: {
    50: '#b28ff7',
    500: '#8960f2',
    950: '#000000',
  },
}
SCSS
$custom: #8960f2;
$custom-light: #b28ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8960f2",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 256.849,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.20895,
    "h": 291.9
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#8960F2
secondary
#E1EFBF
accent
#E104A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8960F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8960F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva