#9B8AEC#9B8AEC

#9B8AEC is a light, vivid violet. Relative luminance 0.312; OKLCH L 68.9% C 0.142 H 290.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B8AEC
RGBrgb(155, 138, 236)
HSLhsl(250, 72%, 73%)
HSVhsv(250, 42%, 93%)
CMYKcmyk(34.3%, 41.5%, 0%, 7.5%)
CIE-LABlab(62.68, 28.38, -47.32)
CIE-LCHlch(62.68, 55.18, 300.95°)
OKLaboklab(68.95% 0.0488 -0.1329)
OKLCHoklch(68.95% 0.142 290.1)
XYZxyz(37.7424, 31.2007, 83.3744)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8AEC #DBEC8A
analogous
#8AAAEC #9B8AEC #CC8AEC
triadic
#9B8AEC #EC9B8A #8AEC9B
tetradic
#9B8AEC #EC8AAA #DBEC8A #8AECCC
square
#9B8AEC #EC8AAA #DBEC8A #8AECCC
split-complementary
#9B8AEC #ECCC8A #AAEC8A
monochromatic
#4323D8 #6E55E3 #9B8AEC #C8BFF5 #E8E5FB

Accessibility & contrast

On white

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

On black

7.24
#9B8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B8AEC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8AEC#FFFFFF#000000##000000
##9B8AEC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99F0
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#879CB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9b8aec;
/* rgb */ color: rgb(155, 138, 236);
/* oklch */ color: oklch(68.9% 0.142 290.1);
Tailwind
colors: {
  custom: {
    50: '#bbacf2',
    500: '#9b8aec',
    950: '#000000',
  },
}
SCSS
$custom: #9b8aec;
$custom-light: #bbacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8aec",
  "rgb": {
    "r": 155,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 250.408,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68947,
    "c": 0.1416,
    "h": 290.1
  },
  "luminance": 0.31202
}

Semantic roles & 50–950 ramp

primary
#9B8AEC
secondary
#EEF2D9
accent
#D411B2
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9B8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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