#9F8DE5#9F8DE5

#9F8DE5 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.5% C 0.128 H 292.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9F8DE5
RGBrgb(159, 141, 229)
HSLhsl(252, 63%, 73%)
HSVhsv(252, 38%, 90%)
CMYKcmyk(30.6%, 38.4%, 0%, 10.2%)
CIE-LABlab(63.41, 25.95, -42.28)
CIE-LCHlch(63.41, 49.61, 301.54°)
OKLaboklab(69.47% 0.0481 -0.1182)
OKLCHoklch(69.47% 0.128 292.1)
XYZxyz(37.9622, 32.0771, 78.3050)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8DE5 #D3E58D
analogous
#8DA7E5 #9F8DE5 #CB8DE5
triadic
#9F8DE5 #E59F8D #8DE59F
tetradic
#9F8DE5 #E58DA7 #D3E58D #8DE5CB
square
#9F8DE5 #E58DA7 #D3E58D #8DE5CB
split-complementary
#9F8DE5 #E5CB8D #A7E58D
monochromatic
#4E2ECA #755BDA #9F8DE5 #C9BFF0 #EAE6F9

Accessibility & contrast

On white

2.83
#9F8DE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9F8DE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F8DE5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8DE5#FFFFFF#000000##000000
##9F8DE51.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BE8
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#8F9DAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f8de5;
/* rgb */ color: rgb(159, 141, 229);
/* oklch */ color: oklch(69.5% 0.128 292.1);
Tailwind
colors: {
  custom: {
    50: '#bdaeed',
    500: '#9f8de5',
    950: '#000000',
  },
}
SCSS
$custom: #9f8de5;
$custom-light: #bdaeed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8de5",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 229
  },
  "hsl": {
    "h": 252.273,
    "s": 62.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.1276,
    "h": 292.1
  },
  "luminance": 0.32078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F8DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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