#948EA6#948EA6

#948EA6 is a light, muted violet. Relative luminance 0.284; OKLCH L 66.0% C 0.036 H 296.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#948EA6
RGBrgb(148, 142, 166)
HSLhsl(255, 12%, 60%)
HSVhsv(255, 14%, 65%)
CMYKcmyk(10.8%, 14.5%, 0%, 34.9%)
CIE-LABlab(60.24, 7.07, -11.83)
CIE-LCHlch(60.24, 13.78, 300.86°)
OKLaboklab(65.99% 0.0162 -0.0319)
OKLCHoklch(65.99% 0.036 296.9)
XYZxyz(28.7673, 28.3950, 40.0342)
Luminance0.2839 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EA6 #A0A68E
analogous
#8E94A6 #948EA6 #A08EA6
triadic
#948EA6 #A6948E #8EA694
tetradic
#948EA6 #A68E94 #A0A68E #8EA6A0
square
#948EA6 #A68E94 #A0A68E #8EA6A0
split-complementary
#948EA6 #A6A08E #94A68E
monochromatic
#575268 #746D8A #948EA6 #B4B0C1 #D5D2DC

Accessibility & contrast

On white

3.14
#948EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#948EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948EA6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EA6#FFFFFF#000000##000000
##948EA61.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A7
Deuteranopia (green-blind)
#8A91A5
Tritanopia (blue-blind)
#919196
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #948ea6;
/* rgb */ color: rgb(148, 142, 166);
/* oklch */ color: oklch(66.0% 0.036 296.9);
Tailwind
colors: {
  custom: {
    50: '#b3afc0',
    500: '#948ea6',
    950: '#000000',
  },
}
SCSS
$custom: #948ea6;
$custom-light: #b3afc0;
$custom-dark: #000000;
JSON
{
  "hex": "#948ea6",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 166
  },
  "hsl": {
    "h": 255,
    "s": 11.881,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65993,
    "c": 0.03579,
    "h": 296.9
  },
  "luminance": 0.28395
}

Semantic roles & 50–950 ramp

primary
#948EA6
secondary
#CACCC3
accent
#965084
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #948EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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