#948EAC#948EAC

#948EAC is a light, muted violet. Relative luminance 0.286; OKLCH L 66.2% C 0.044 H 294.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#948EAC
RGBrgb(148, 142, 172)
HSLhsl(252, 15%, 62%)
HSVhsv(252, 17%, 67%)
CMYKcmyk(14%, 17.4%, 0%, 32.5%)
CIE-LABlab(60.45, 8.38, -14.93)
CIE-LCHlch(60.45, 17.12, 299.29°)
OKLaboklab(66.22% 0.0183 -0.0405)
OKLCHoklch(66.22% 0.044 294.3)
XYZxyz(29.3306, 28.6203, 43.0008)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EAC #A6AC8E
analogous
#8E97AC #948EAC #A38EAC
triadic
#948EAC #AC948E #8EAC94
tetradic
#948EAC #AC8E97 #A6AC8E #8EACA3
square
#948EAC #AC8E97 #A6AC8E #8EACA3
split-complementary
#948EAC #ACA38E #97AC8E
monochromatic
#57516E #736B92 #948EAC #B5B1C6 #D7D5E0

Accessibility & contrast

On white

3.12
#948EAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#948EAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948EAC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EAC#FFFFFF#000000##000000
##948EAC1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AD
Deuteranopia (green-blind)
#8891AB
Tritanopia (blue-blind)
#909298
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #948eac;
/* rgb */ color: rgb(148, 142, 172);
/* oklch */ color: oklch(66.2% 0.044 294.3);
Tailwind
colors: {
  custom: {
    50: '#b3afc4',
    500: '#948eac',
    950: '#000000',
  },
}
SCSS
$custom: #948eac;
$custom-light: #b3afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#948eac",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 172
  },
  "hsl": {
    "h": 252,
    "s": 15.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.04447,
    "h": 294.3
  },
  "luminance": 0.2862
}

Semantic roles & 50–950 ramp

primary
#948EAC
secondary
#CED0C5
accent
#9A4C8A
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111012
muted
#807F81

Preview Lab

Preview with #948EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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