#9F8DE7#9F8DE7

#9F8DE7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.6% C 0.130 H 291.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9F8DE7
RGBrgb(159, 141, 231)
HSLhsl(252, 65%, 73%)
HSVhsv(252, 39%, 91%)
CMYKcmyk(31.2%, 39%, 0%, 9.4%)
CIE-LABlab(63.50, 26.46, -43.24)
CIE-LCHlch(63.50, 50.69, 301.46°)
OKLaboklab(69.58% 0.0485 -0.121)
OKLCHoklch(69.58% 0.13 291.8)
XYZxyz(38.2431, 32.1895, 79.7841)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8DE7 #D5E78D
analogous
#8DA8E7 #9F8DE7 #CC8DE7
triadic
#9F8DE7 #E79F8D #8DE79F
tetradic
#9F8DE7 #E78DA8 #D5E78D #8DE7CC
square
#9F8DE7 #E78DA8 #D5E78D #8DE7CC
split-complementary
#9F8DE7 #E7CC8D #A8E78D
monochromatic
#4C2BCE #745ADC #9F8DE7 #CAC0F2 #EAE6FA

Accessibility & contrast

On white

2.82
#9F8DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9F8DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F8DE7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8DE7#FFFFFF#000000##000000
##9F8DE71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEA
Deuteranopia (green-blind)
#7498E5
Tritanopia (blue-blind)
#8E9DAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9f8de7;
/* rgb */ color: rgb(159, 141, 231);
/* oklch */ color: oklch(69.6% 0.130 291.8);
Tailwind
colors: {
  custom: {
    50: '#bdaeef',
    500: '#9f8de7',
    950: '#000000',
  },
}
SCSS
$custom: #9f8de7;
$custom-light: #bdaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8de7",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 231
  },
  "hsl": {
    "h": 252,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.13033,
    "h": 291.8
  },
  "luminance": 0.3219
}

Semantic roles & 50–950 ramp

primary
#9F8DE7
secondary
#ECF1DA
accent
#CD18A9
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9F8DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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