#9F88F7#9F88F7

#9F88F7 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.5% C 0.159 H 291.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9F88F7
RGBrgb(159, 136, 247)
HSLhsl(252, 87%, 75%)
HSVhsv(252, 45%, 97%)
CMYKcmyk(35.6%, 44.9%, 0%, 3.1%)
CIE-LABlab(63.09, 33.44, -52.71)
CIE-LCHlch(63.09, 62.42, 302.39°)
OKLaboklab(69.52% 0.0577 -0.1486)
OKLCHoklch(69.52% 0.159 291.2)
XYZxyz(39.8863, 31.6937, 91.9937)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F88F7 #E0F788
analogous
#88A9F7 #9F88F7 #D688F7
triadic
#9F88F7 #F79F88 #88F79F
tetradic
#9F88F7 #F788A9 #E0F788 #88F7D6
square
#9F88F7 #F788A9 #E0F788 #88F7D6
split-complementary
#9F88F7 #F7D688 #A9F788
monochromatic
#4215EF #714FF3 #9F88F7 #CDC1FB #E8E2FD

Accessibility & contrast

On white

2.86
#9F88F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9F88F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F88F7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F88F7#FFFFFF#000000##000000
##9F88F71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#6496F4
Tritanopia (blue-blind)
#899DB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f88f7;
/* rgb */ color: rgb(159, 136, 247);
/* oklch */ color: oklch(69.5% 0.159 291.2);
Tailwind
colors: {
  custom: {
    50: '#bfabfa',
    500: '#9f88f7',
    950: '#000000',
  },
}
SCSS
$custom: #9f88f7;
$custom-light: #bfabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f88f7",
  "rgb": {
    "r": 159,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 252.432,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.15936,
    "h": 291.2
  },
  "luminance": 0.31695
}

Semantic roles & 50–950 ramp

primary
#9F88F7
secondary
#EFF5D6
accent
#E402B5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9F88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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