#9F8BE9#9F8BE9

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

Color values

HEX#9F8BE9
RGBrgb(159, 139, 233)
HSLhsl(253, 68%, 73%)
HSVhsv(253, 40%, 91%)
CMYKcmyk(31.8%, 40.3%, 0%, 8.6%)
CIE-LABlab(63.11, 28.11, -44.96)
CIE-LCHlch(63.11, 53.02, 302.01°)
OKLaboklab(69.31% 0.0515 -0.126)
OKLCHoklch(69.31% 0.136 292.3)
XYZxyz(38.2349, 31.7186, 81.1829)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8BE9 #D5E98B
analogous
#8BA6E9 #9F8BE9 #CE8BE9
triadic
#9F8BE9 #E99F8B #8BE99F
tetradic
#9F8BE9 #E98BA6 #D5E98B #8BE9CE
square
#9F8BE9 #E98BA6 #D5E98B #8BE9CE
split-complementary
#9F8BE9 #E9CE8B #A6E98B
monochromatic
#4C28D2 #7458DF #9F8BE9 #CABEF3 #EAE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F8BE9#FFFFFF#000000##000000
##9F8BE91.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)
#6F9AED
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#8E9CAF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f8be9;
/* rgb */ color: rgb(159, 139, 233);
/* oklch */ color: oklch(69.3% 0.136 292.3);
Tailwind
colors: {
  custom: {
    50: '#beadf0',
    500: '#9f8be9',
    950: '#000000',
  },
}
SCSS
$custom: #9f8be9;
$custom-light: #beadf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8be9",
  "rgb": {
    "r": 159,
    "g": 139,
    "b": 233
  },
  "hsl": {
    "h": 252.766,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6931,
    "c": 0.13611,
    "h": 292.3
  },
  "luminance": 0.31719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F8BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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