#9C87F0#9C87F0

#9C87F0 is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.7% C 0.151 H 291.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9C87F0
RGBrgb(156, 135, 240)
HSLhsl(252, 78%, 74%)
HSVhsv(252, 44%, 94%)
CMYKcmyk(35%, 43.8%, 0%, 5.9%)
CIE-LABlab(62.24, 31.41, -50.22)
CIE-LCHlch(62.24, 59.23, 302.03°)
OKLaboklab(68.7% 0.0545 -0.1413)
OKLCHoklch(68.7% 0.151 291.1)
XYZxyz(38.0983, 30.6862, 86.3369)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C87F0 #DBF087
analogous
#87A6F0 #9C87F0 #D087F0
triadic
#9C87F0 #F09C87 #87F09C
tetradic
#9C87F0 #F087A6 #DBF087 #87F0D0
square
#9C87F0 #F087A6 #DBF087 #87F0D0
split-complementary
#9C87F0 #F0D087 #A6F087
monochromatic
#431CE1 #6F51E9 #9C87F0 #C9BDF7 #E9E4FC

Accessibility & contrast

On white

2.94
#9C87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9C87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C87F0
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C87F0#FFFFFF#000000##000000
##9C87F01.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F4
Deuteranopia (green-blind)
#6694ED
Tritanopia (blue-blind)
#879BB0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c87f0;
/* rgb */ color: rgb(156, 135, 240);
/* oklch */ color: oklch(68.7% 0.151 291.1);
Tailwind
colors: {
  custom: {
    50: '#bcaaf5',
    500: '#9c87f0',
    950: '#000000',
  },
}
SCSS
$custom: #9c87f0;
$custom-light: #bcaaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c87f0",
  "rgb": {
    "r": 156,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 252,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68703,
    "c": 0.15147,
    "h": 291.1
  },
  "luminance": 0.30687
}

Semantic roles & 50–950 ramp

primary
#9C87F0
secondary
#EEF3D8
accent
#DA0BB1
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #9C87F0

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

Preview Lab → · Contrast checker → · Palette generator →

#9C87F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva