#918AAA#918AAA

#918AAA is a light, muted violet. Relative luminance 0.271; OKLCH L 65.1% C 0.048 H 295.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#918AAA
RGBrgb(145, 138, 170)
HSLhsl(253, 16%, 60%)
HSVhsv(253, 19%, 67%)
CMYKcmyk(14.7%, 18.8%, 0%, 33.3%)
CIE-LABlab(59.07, 9.21, -15.91)
CIE-LCHlch(59.07, 18.38, 300.08°)
OKLaboklab(65.06% 0.0202 -0.0432)
OKLCHoklch(65.06% 0.048 295.1)
XYZxyz(28.0197, 27.0988, 41.7768)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918AAA #A3AA8A
analogous
#8A93AA #918AAA #A18AAA
triadic
#918AAA #AA918A #8AAA91
tetradic
#918AAA #AA8A93 #A3AA8A #8AAAA1
square
#918AAA #AA8A93 #A3AA8A #8AAAA1
split-complementary
#918AAA #AAA18A #93AA8A
monochromatic
#554E6C #70688F #918AAA #B2ADC4 #D4D1DE

Accessibility & contrast

On white

3.27
#918AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#918AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918AAA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918AAA#FFFFFF#000000##000000
##918AAA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAB
Deuteranopia (green-blind)
#848EA9
Tritanopia (blue-blind)
#8C8F95
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #918aaa;
/* rgb */ color: rgb(145, 138, 170);
/* oklch */ color: oklch(65.1% 0.048 295.1);
Tailwind
colors: {
  custom: {
    50: '#b1acc3',
    500: '#918aaa',
    950: '#000000',
  },
}
SCSS
$custom: #918aaa;
$custom-light: #b1acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#918aaa",
  "rgb": {
    "r": 145,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 253.125,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65059,
    "c": 0.04773,
    "h": 295.1
  },
  "luminance": 0.27099
}

Semantic roles & 50–950 ramp

primary
#918AAA
secondary
#CBCEC2
accent
#9A4B89
background
#FAFAFC
surface
#F5F4F8
border
#CFCED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #918AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#918AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva