#948EA2#948EA2

#948EA2 is a light, muted violet. Relative luminance 0.283; OKLCH L 65.8% C 0.030 H 299.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#948EA2
RGBrgb(148, 142, 162)
HSLhsl(258, 10%, 60%)
HSVhsv(258, 12%, 64%)
CMYKcmyk(8.6%, 12.3%, 0%, 36.5%)
CIE-LABlab(60.11, 6.21, -9.74)
CIE-LCHlch(60.11, 11.56, 302.53°)
OKLaboklab(65.85% 0.0147 -0.0262)
OKLCHoklch(65.85% 0.03 299.3)
XYZxyz(28.4061, 28.2505, 38.1318)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EA2 #9CA28E
analogous
#8E92A2 #948EA2 #9E8EA2
triadic
#948EA2 #A2948E #8EA294
tetradic
#948EA2 #A28E92 #9CA28E #8EA29E
square
#948EA2 #A28E92 #9CA28E #8EA29E
split-complementary
#948EA2 #A29E8E #92A28E
monochromatic
#575264 #756E85 #948EA2 #B4B0BE #D4D1D9

Accessibility & contrast

On white

3.16
#948EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#948EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948EA2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EA2#FFFFFF#000000##000000
##948EA21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A3
Deuteranopia (green-blind)
#8B91A1
Tritanopia (blue-blind)
#929194
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #948ea2;
/* rgb */ color: rgb(148, 142, 162);
/* oklch */ color: oklch(65.8% 0.030 299.3);
Tailwind
colors: {
  custom: {
    50: '#b3afbd',
    500: '#948ea2',
    950: '#000000',
  },
}
SCSS
$custom: #948ea2;
$custom-light: #b3afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#948ea2",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 258,
    "s": 9.709,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65849,
    "c": 0.03005,
    "h": 299.3
  },
  "luminance": 0.28251
}

Semantic roles & 50–950 ramp

primary
#948EA2
secondary
#C7CAC2
accent
#B375A0
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #948EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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