#948AAA#948AAA

#948AAA is a light, muted violet. Relative luminance 0.274; OKLCH L 65.3% C 0.048 H 299.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#948AAA
RGBrgb(148, 138, 170)
HSLhsl(259, 16%, 60%)
HSVhsv(259, 19%, 67%)
CMYKcmyk(12.9%, 18.8%, 0%, 33.3%)
CIE-LABlab(59.32, 10.22, -15.50)
CIE-LCHlch(59.32, 18.57, 303.41°)
OKLaboklab(65.32% 0.0237 -0.0421)
OKLCHoklch(65.32% 0.048 299.3)
XYZxyz(28.5555, 27.3751, 41.8020)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948AAA #A0AA8A
analogous
#8A90AA #948AAA #A48AAA
triadic
#948AAA #AA948A #8AAA94
tetradic
#948AAA #AA8A90 #A0AA8A #8AAAA4
square
#948AAA #AA8A90 #A0AA8A #8AAAA4
split-complementary
#948AAA #AAA48A #90AA8A
monochromatic
#574E6C #74688F #948AAA #B4ADC4 #D5D1DE

Accessibility & contrast

On white

3.24
#948AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#948AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948AAA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948AAA#FFFFFF#000000##000000
##948AAA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAB
Deuteranopia (green-blind)
#858FA9
Tritanopia (blue-blind)
#908F95
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #948aaa;
/* rgb */ color: rgb(148, 138, 170);
/* oklch */ color: oklch(65.3% 0.048 299.3);
Tailwind
colors: {
  custom: {
    50: '#b3acc3',
    500: '#948aaa',
    950: '#000000',
  },
}
SCSS
$custom: #948aaa;
$custom-light: #b3acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#948aaa",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 258.75,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65319,
    "c": 0.04825,
    "h": 299.3
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#948AAA
secondary
#CACEC2
accent
#9A4B81
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111012
muted
#807F81

Preview Lab

Preview with #948AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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