#9F87F3#9F87F3

#9F87F3 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.156 H 292.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F87F3
RGBrgb(159, 135, 243)
HSLhsl(253, 82%, 74%)
HSVhsv(253, 44%, 95%)
CMYKcmyk(34.6%, 44.4%, 0%, 4.7%)
CIE-LABlab(62.65, 32.97, -51.21)
CIE-LCHlch(62.65, 60.90, 302.77°)
OKLaboklab(69.12% 0.0584 -0.1442)
OKLCHoklch(69.12% 0.156 292)
XYZxyz(39.1355, 31.1691, 88.7310)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F87F3 #DBF387
analogous
#87A5F3 #9F87F3 #D587F3
triadic
#9F87F3 #F39F87 #87F39F
tetradic
#9F87F3 #F387A5 #DBF387 #87F3D5
square
#9F87F3 #F387A5 #DBF387 #87F3D5
split-complementary
#9F87F3 #F3D587 #A5F387
monochromatic
#4618E8 #724FED #9F87F3 #CCBFF9 #E9E3FC

Accessibility & contrast

On white

2.90
#9F87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9F87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F87F3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F87F3#FFFFFF#000000##000000
##9F87F31.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#6695F0
Tritanopia (blue-blind)
#8B9CB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f87f3;
/* rgb */ color: rgb(159, 135, 243);
/* oklch */ color: oklch(69.1% 0.156 292.0);
Tailwind
colors: {
  custom: {
    50: '#beaaf7',
    500: '#9f87f3',
    950: '#000000',
  },
}
SCSS
$custom: #9f87f3;
$custom-light: #beaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f87f3",
  "rgb": {
    "r": 159,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 253.333,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69123,
    "c": 0.15555,
    "h": 292
  },
  "luminance": 0.3117
}

Semantic roles & 50–950 ramp

primary
#9F87F3
secondary
#EEF4D7
accent
#DE07AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9F87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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