#948CA8#948CA8

#948CA8 is a light, muted violet. Relative luminance 0.279; OKLCH L 65.7% C 0.042 H 298.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#948CA8
RGBrgb(148, 140, 168)
HSLhsl(257, 14%, 60%)
HSVhsv(257, 17%, 66%)
CMYKcmyk(11.9%, 16.7%, 0%, 34.1%)
CIE-LABlab(59.78, 8.64, -13.66)
CIE-LCHlch(59.78, 16.17, 302.31°)
OKLaboklab(65.65% 0.0199 -0.037)
OKLCHoklch(65.65% 0.042 298.3)
XYZxyz(28.6573, 27.8791, 40.9097)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948CA8 #A0A88C
analogous
#8C92A8 #948CA8 #A28CA8
triadic
#948CA8 #A8948C #8CA894
tetradic
#948CA8 #A88C92 #A0A88C #8CA8A2
square
#948CA8 #A88C92 #A0A88C #8CA8A2
split-complementary
#948CA8 #A8A28C #92A88C
monochromatic
#57506A #746A8D #948CA8 #B4AFC2 #D5D2DD

Accessibility & contrast

On white

3.19
#948CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#948CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948CA8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948CA8#FFFFFF#000000##000000
##948CA81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8790A9
Deuteranopia (green-blind)
#8890A7
Tritanopia (blue-blind)
#919095
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #948ca8;
/* rgb */ color: rgb(148, 140, 168);
/* oklch */ color: oklch(65.7% 0.042 298.3);
Tailwind
colors: {
  custom: {
    50: '#b3adc1',
    500: '#948ca8',
    950: '#000000',
  },
}
SCSS
$custom: #948ca8;
$custom-light: #b3adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#948ca8",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 257.143,
    "s": 13.861,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65653,
    "c": 0.04201,
    "h": 298.3
  },
  "luminance": 0.27879
}

Semantic roles & 50–950 ramp

primary
#948CA8
secondary
#CACDC3
accent
#984D83
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #948CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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