#9C8FDB#9C8FDB

#9C8FDB is a light, moderate violet. Relative luminance 0.318; OKLCH L 69.1% C 0.111 H 291.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8FDB
RGBrgb(156, 143, 219)
HSLhsl(250, 51%, 71%)
HSVhsv(250, 35%, 86%)
CMYKcmyk(28.8%, 34.7%, 0%, 14.1%)
CIE-LABlab(63.20, 21.44, -37.07)
CIE-LCHlch(63.20, 42.83, 300.04°)
OKLaboklab(69.11% 0.0398 -0.1032)
OKLCHoklch(69.11% 0.111 291.1)
XYZxyz(36.3157, 31.8267, 71.2339)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8FDB #CEDB8F
analogous
#8FA8DB #9C8FDB #C28FDB
triadic
#9C8FDB #DB9C8F #8FDB9C
tetradic
#9C8FDB #DB8FA8 #CEDB8F #8FDBC2
square
#9C8FDB #DB8FA8 #CEDB8F #8FDBC2
split-complementary
#9C8FDB #DBC28F #A8DB8F
monochromatic
#4F3AB5 #7361CC #9C8FDB #C5BDEA #EBE8F8

Accessibility & contrast

On white

2.85
#9C8FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#9C8FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8FDB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8FDB#FFFFFF#000000##000000
##9C8FDB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#7B97D9
Tritanopia (blue-blind)
#8E9CAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9c8fdb;
/* rgb */ color: rgb(156, 143, 219);
/* oklch */ color: oklch(69.1% 0.111 291.1);
Tailwind
colors: {
  custom: {
    50: '#bbafe6',
    500: '#9c8fdb',
    950: '#000000',
  },
}
SCSS
$custom: #9c8fdb;
$custom-light: #bbafe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8fdb",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 250.263,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69108,
    "c": 0.11059,
    "h": 291.1
  },
  "luminance": 0.31827
}

Semantic roles & 50–950 ramp

primary
#9C8FDB
secondary
#EAEDD9
accent
#BF27A5
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C8FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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