#8960F3#8960F3

#8960F3 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.210 H 291.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8960F3
RGBrgb(137, 96, 243)
HSLhsl(257, 86%, 66%)
HSVhsv(257, 60%, 95%)
CMYKcmyk(43.6%, 60.5%, 0%, 4.7%)
CIE-LABlab(52.01, 49.81, -68.36)
CIE-LCHlch(52.01, 84.58, 306.08°)
OKLaboklab(60.75% 0.0779 -0.1952)
OKLCHoklch(60.75% 0.21 291.8)
XYZxyz(30.6726, 20.1542, 87.0507)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8960F3 #CAF360
analogous
#6081F3 #8960F3 #D360F3
triadic
#8960F3 #F38960 #60F389
tetradic
#8960F3 #F36081 #CAF360 #60F3D3
square
#8960F3 #F36081 #CAF360 #60F3D3
split-complementary
#8960F3 #F3D360 #81F360
monochromatic
#430FC9 #5F27EF #8960F3 #B399F7 #DDD2FC

Accessibility & contrast

On white

4.17
#8960F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8960F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8960F3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8960F3#FFFFFF#000000##000000
##8960F31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#6A82A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8960f3;
/* rgb */ color: rgb(137, 96, 243);
/* oklch */ color: oklch(60.7% 0.210 291.8);
Tailwind
colors: {
  custom: {
    50: '#b28ff8',
    500: '#8960f3',
    950: '#000000',
  },
}
SCSS
$custom: #8960f3;
$custom-light: #b28ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#8960f3",
  "rgb": {
    "r": 137,
    "g": 96,
    "b": 243
  },
  "hsl": {
    "h": 256.735,
    "s": 85.965,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60747,
    "c": 0.21016,
    "h": 291.8
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#8960F3
secondary
#E2EFC0
accent
#E203A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8960F3

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

Preview Lab → · Contrast checker → · Palette generator →

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