#9560F2#9560F2

#9560F2 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.210 H 296.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9560F2
RGBrgb(149, 96, 242)
HSLhsl(262, 85%, 66%)
HSVhsv(262, 60%, 95%)
CMYKcmyk(38.4%, 60.3%, 0%, 5.1%)
CIE-LABlab(53.13, 52.02, -65.94)
CIE-LCHlch(53.13, 83.99, 308.27°)
OKLaboklab(61.82% 0.0935 -0.1877)
OKLCHoklch(61.82% 0.21 296.5)
XYZxyz(32.6002, 21.1655, 86.3550)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9560F2 #BDF260
analogous
#6074F2 #9560F2 #DE60F2
triadic
#9560F2 #F29560 #60F295
tetradic
#9560F2 #F26074 #BDF260 #60F2DE
square
#9560F2 #F26074 #BDF260 #60F2DE
split-complementary
#9560F2 #F2DE60 #74F260
monochromatic
#5310C7 #6F27ED #9560F2 #BB99F7 #E0D1FB

Accessibility & contrast

On white

4.01
#9560F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9560F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9560F2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9560F2#FFFFFF#000000##000000
##9560F21.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#177DEF
Tritanopia (blue-blind)
#7E80A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9560f2;
/* rgb */ color: rgb(149, 96, 242);
/* oklch */ color: oklch(61.8% 0.210 296.5);
Tailwind
colors: {
  custom: {
    50: '#ba8ff7',
    500: '#9560f2',
    950: '#000000',
  },
}
SCSS
$custom: #9560f2;
$custom-light: #ba8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9560f2",
  "rgb": {
    "r": 149,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 261.781,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.20966,
    "h": 296.5
  },
  "luminance": 0.21166
}

Semantic roles & 50–950 ramp

primary
#9560F2
secondary
#DDEFBF
accent
#E10491
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120D17
muted
#817D85

Preview Lab

Preview with #9560F2

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

Preview Lab → · Contrast checker → · Palette generator →

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