#9987F3#9987F3

#9987F3 is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.6% C 0.155 H 289.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9987F3
RGBrgb(153, 135, 243)
HSLhsl(250, 82%, 74%)
HSVhsv(250, 44%, 95%)
CMYKcmyk(37%, 44.4%, 0%, 4.7%)
CIE-LABlab(62.14, 31.43, -52.04)
CIE-LCHlch(62.14, 60.80, 301.13°)
OKLaboklab(68.62% 0.0514 -0.1467)
OKLCHoklch(68.62% 0.155 289.3)
XYZxyz(37.9741, 30.5702, 88.6765)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9987F3 #E1F387
analogous
#87ABF3 #9987F3 #CF87F3
triadic
#9987F3 #F39987 #87F399
tetradic
#9987F3 #F387AB #E1F387 #87F3CF
square
#9987F3 #F387AB #E1F387 #87F3CF
split-complementary
#9987F3 #F3CF87 #ABF387
monochromatic
#3A18E8 #6A4FED #9987F3 #C8BFF9 #E7E3FC

Accessibility & contrast

On white

2.95
#9987F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#9987F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9987F3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9987F3#FFFFFF#000000##000000
##9987F31.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F7
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#819CB1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9987f3;
/* rgb */ color: rgb(153, 135, 243);
/* oklch */ color: oklch(68.6% 0.155 289.3);
Tailwind
colors: {
  custom: {
    50: '#baaaf7',
    500: '#9987f3',
    950: '#000000',
  },
}
SCSS
$custom: #9987f3;
$custom-light: #baaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9987f3",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 250,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68617,
    "c": 0.15548,
    "h": 289.3
  },
  "luminance": 0.30571
}

Semantic roles & 50–950 ramp

primary
#9987F3
secondary
#EFF4D7
accent
#DE07BA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9987F3

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

Preview Lab → · Contrast checker → · Palette generator →

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