#9F88E9#9F88E9

#9F88E9 is a light, vivid violet. Relative luminance 0.309; OKLCH L 68.8% C 0.141 H 293.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F88E9
RGBrgb(159, 136, 233)
HSLhsl(254, 69%, 72%)
HSVhsv(254, 42%, 91%)
CMYKcmyk(31.8%, 41.6%, 0%, 8.6%)
CIE-LABlab(62.39, 29.82, -46.09)
CIE-LCHlch(62.39, 54.90, 302.91°)
OKLaboklab(68.77% 0.0555 -0.1293)
OKLCHoklch(68.77% 0.141 293.2)
XYZxyz(37.8065, 30.8618, 81.0400)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F88E9 #D2E988
analogous
#88A1E9 #9F88E9 #D088E9
triadic
#9F88E9 #E99F88 #88E99F
tetradic
#9F88E9 #E988A1 #D2E988 #88E9D0
square
#9F88E9 #E988A1 #D2E988 #88E9D0
split-complementary
#9F88E9 #E9D088 #A1E988
monochromatic
#4F26D0 #7554DF #9F88E9 #C9BCF3 #EAE5FA

Accessibility & contrast

On white

2.93
#9F88E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9F88E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F88E9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F88E9#FFFFFF#000000##000000
##9F88E91.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98ED
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#8E9AAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f88e9;
/* rgb */ color: rgb(159, 136, 233);
/* oklch */ color: oklch(68.8% 0.141 293.2);
Tailwind
colors: {
  custom: {
    50: '#beabf0',
    500: '#9f88e9',
    950: '#000000',
  },
}
SCSS
$custom: #9f88e9;
$custom-light: #beabf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f88e9",
  "rgb": {
    "r": 159,
    "g": 136,
    "b": 233
  },
  "hsl": {
    "h": 254.227,
    "s": 68.794,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68765,
    "c": 0.14068,
    "h": 293.2
  },
  "luminance": 0.30862
}

Semantic roles & 50–950 ramp

primary
#9F88E9
secondary
#ECF2D9
accent
#D115A4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9F88E9

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

Preview Lab → · Contrast checker → · Palette generator →

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