#9F8DD4#9F8DD4

#9F8DD4 is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.7% C 0.104 H 295.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F8DD4
RGBrgb(159, 141, 212)
HSLhsl(255, 45%, 69%)
HSVhsv(255, 33%, 83%)
CMYKcmyk(25%, 33.5%, 0%, 16.9%)
CIE-LABlab(62.65, 21.74, -34.00)
CIE-LCHlch(62.65, 40.36, 302.60°)
OKLaboklab(68.65% 0.0443 -0.0943)
OKLCHoklch(68.65% 0.104 295.2)
XYZxyz(35.7038, 31.1738, 66.4107)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8DD4 #C2D48D
analogous
#8D9FD4 #9F8DD4 #C38DD4
triadic
#9F8DD4 #D49F8D #8DD49F
tetradic
#9F8DD4 #D48D9F #C2D48D #8DD4C3
square
#9F8DD4 #D48D9F #C2D48D #8DD4C3
split-complementary
#9F8DD4 #D4C38D #9FD48D
monochromatic
#5A3FA7 #7A61C3 #9F8DD4 #C4B9E5 #EAE6F6

Accessibility & contrast

On white

2.90
#9F8DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9F8DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F8DD4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8DD4#FFFFFF#000000##000000
##9F8DD41.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D7
Deuteranopia (green-blind)
#7D97D2
Tritanopia (blue-blind)
#9499A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9f8dd4;
/* rgb */ color: rgb(159, 141, 212);
/* oklch */ color: oklch(68.7% 0.104 295.2);
Tailwind
colors: {
  custom: {
    50: '#bcaee1',
    500: '#9f8dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9f8dd4;
$custom-light: #bcaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8dd4",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 255.211,
    "s": 45.223,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68653,
    "c": 0.10419,
    "h": 295.2
  },
  "luminance": 0.31174
}

Semantic roles & 50–950 ramp

primary
#9F8DD4
secondary
#E3E9D4
accent
#B82D95
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #9F8DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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