#9F8EE7#9F8EE7

#9F8EE7 is a light, vivid violet. Relative luminance 0.325; OKLCH L 69.8% C 0.129 H 291.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9F8EE7
RGBrgb(159, 142, 231)
HSLhsl(251, 65%, 73%)
HSVhsv(251, 39%, 91%)
CMYKcmyk(31.2%, 38.5%, 0%, 9.4%)
CIE-LABlab(63.74, 25.89, -42.86)
CIE-LCHlch(63.74, 50.07, 301.13°)
OKLaboklab(69.76% 0.0471 -0.1199)
OKLCHoklch(69.76% 0.129 291.5)
XYZxyz(38.3912, 32.4857, 79.8335)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8EE7 #D6E78E
analogous
#8EA9E7 #9F8EE7 #CC8EE7
triadic
#9F8EE7 #E79F8E #8EE79F
tetradic
#9F8EE7 #E78EA9 #D6E78E #8EE7CC
square
#9F8EE7 #E78EA9 #D6E78E #8EE7CC
split-complementary
#9F8EE7 #E7CC8E #A9E78E
monochromatic
#4B2CCF #745CDC #9F8EE7 #CAC0F2 #EAE6FA

Accessibility & contrast

On white

2.80
#9F8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9F8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F8EE7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8EE7#FFFFFF#000000##000000
##9F8EE71.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEA
Deuteranopia (green-blind)
#7599E5
Tritanopia (blue-blind)
#8E9EB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9f8ee7;
/* rgb */ color: rgb(159, 142, 231);
/* oklch */ color: oklch(69.8% 0.129 291.5);
Tailwind
colors: {
  custom: {
    50: '#bdafef',
    500: '#9f8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #9f8ee7;
$custom-light: #bdafef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8ee7",
  "rgb": {
    "r": 159,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 251.461,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.12881,
    "h": 291.5
  },
  "luminance": 0.32486
}

Semantic roles & 50–950 ramp

primary
#9F8EE7
secondary
#EDF1DA
accent
#CD19AA
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9F8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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