#9C8BE4#9C8BE4

#9C8BE4 is a light, vivid violet. Relative luminance 0.311; OKLCH L 68.8% C 0.129 H 291.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9C8BE4
RGBrgb(156, 139, 228)
HSLhsl(251, 62%, 72%)
HSVhsv(251, 39%, 89%)
CMYKcmyk(31.6%, 39%, 0%, 10.6%)
CIE-LABlab(62.62, 26.01, -42.98)
CIE-LCHlch(62.62, 50.24, 301.19°)
OKLaboklab(68.8% 0.0471 -0.1203)
OKLCHoklch(68.8% 0.129 291.4)
XYZxyz(36.9429, 31.1338, 77.4468)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8BE4 #D3E48B
analogous
#8BA7E4 #9C8BE4 #C98BE4
triadic
#9C8BE4 #E49C8B #8BE49C
tetradic
#9C8BE4 #E48BA7 #D3E48B #8BE4C9
square
#9C8BE4 #E48BA7 #D3E48B #8BE4C9
split-complementary
#9C8BE4 #E4C98B #A7E48B
monochromatic
#4B2EC6 #7259D8 #9C8BE4 #C6BDF0 #EAE6F9

Accessibility & contrast

On white

2.91
#9C8BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8BE4#FFFFFF#000000##000000
##9C8BE41.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E7
Deuteranopia (green-blind)
#7296E2
Tritanopia (blue-blind)
#8B9BAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9c8be4;
/* rgb */ color: rgb(156, 139, 228);
/* oklch */ color: oklch(68.8% 0.129 291.4);
Tailwind
colors: {
  custom: {
    50: '#bbaded',
    500: '#9c8be4',
    950: '#000000',
  },
}
SCSS
$custom: #9c8be4;
$custom-light: #bbaded;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8be4",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 251.461,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.688,
    "c": 0.12918,
    "h": 291.4
  },
  "luminance": 0.31135
}

Semantic roles & 50–950 ramp

primary
#9C8BE4
secondary
#ECF1DA
accent
#CA1CA9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C8BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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