#948EA4#948EA4

#948EA4 is a light, muted violet. Relative luminance 0.283; OKLCH L 65.9% C 0.033 H 298.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#948EA4
RGBrgb(148, 142, 164)
HSLhsl(256, 11%, 60%)
HSVhsv(256, 13%, 64%)
CMYKcmyk(9.8%, 13.4%, 0%, 35.7%)
CIE-LABlab(60.18, 6.64, -10.78)
CIE-LCHlch(60.18, 12.66, 301.61°)
OKLaboklab(65.92% 0.0154 -0.0291)
OKLCHoklch(65.92% 0.033 298)
XYZxyz(28.5853, 28.3222, 39.0755)
Luminance0.2832 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EA4 #9EA48E
analogous
#8E93A4 #948EA4 #9F8EA4
triadic
#948EA4 #A4948E #8EA494
tetradic
#948EA4 #A48E93 #9EA48E #8EA49F
square
#948EA4 #A48E93 #9EA48E #8EA49F
split-complementary
#948EA4 #A49F8E #93A48E
monochromatic
#575266 #746D88 #948EA4 #B4B0BF #D4D2DB

Accessibility & contrast

On white

3.15
#948EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#948EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948EA4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EA4#FFFFFF#000000##000000
##948EA41.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A5
Deuteranopia (green-blind)
#8B91A3
Tritanopia (blue-blind)
#919195
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #948ea4;
/* rgb */ color: rgb(148, 142, 164);
/* oklch */ color: oklch(65.9% 0.033 298.0);
Tailwind
colors: {
  custom: {
    50: '#b3afbf',
    500: '#948ea4',
    950: '#000000',
  },
}
SCSS
$custom: #948ea4;
$custom-light: #b3afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#948ea4",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 256.364,
    "s": 10.784,
    "l": 60
  },
  "oklch": {
    "l": 0.6592,
    "c": 0.03291,
    "h": 298
  },
  "luminance": 0.28322
}

Semantic roles & 50–950 ramp

primary
#948EA4
secondary
#C9CBC3
accent
#B474A2
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #948EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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