#9F8FEE#9F8FEE

#9F8FEE is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.3% C 0.137 H 290.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9F8FEE
RGBrgb(159, 143, 238)
HSLhsl(250, 74%, 75%)
HSVhsv(250, 40%, 93%)
CMYKcmyk(33.2%, 39.9%, 0%, 6.7%)
CIE-LABlab(64.31, 27.11, -45.82)
CIE-LCHlch(64.31, 53.24, 300.60°)
OKLaboklab(70.3% 0.0472 -0.1285)
OKLCHoklch(70.3% 0.137 290.2)
XYZxyz(39.5491, 33.1880, 85.1945)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8FEE #DEEE8F
analogous
#8FAFEE #9F8FEE #CE8FEE
triadic
#9F8FEE #EE9F8F #8FEE9F
tetradic
#9F8FEE #EE8FAF #DEEE8F #8FEECE
square
#9F8FEE #EE8FAF #DEEE8F #8FEECE
split-complementary
#9F8FEE #EECE8F #AFEE8F
monochromatic
#4425DE #715AE6 #9F8FEE #CDC4F6 #E8E4FB

Accessibility & contrast

On white

2.75
#9F8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#9F8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F8FEE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8FEE#FFFFFF#000000##000000
##9F8FEE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#8CA1B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9f8fee;
/* rgb */ color: rgb(159, 143, 238);
/* oklch */ color: oklch(70.3% 0.137 290.2);
Tailwind
colors: {
  custom: {
    50: '#beb0f4',
    500: '#9f8fee',
    950: '#000000',
  },
}
SCSS
$custom: #9f8fee;
$custom-light: #beb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8fee",
  "rgb": {
    "r": 159,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 250.105,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70302,
    "c": 0.13687,
    "h": 290.2
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#9F8FEE
secondary
#EEF3D8
accent
#D610B4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9F8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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