#948EAA#948EAA

#948EAA is a light, muted violet. Relative luminance 0.285; OKLCH L 66.1% C 0.042 H 295.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#948EAA
RGBrgb(148, 142, 170)
HSLhsl(253, 14%, 61%)
HSVhsv(253, 16%, 67%)
CMYKcmyk(12.9%, 16.5%, 0%, 33.3%)
CIE-LABlab(60.38, 7.94, -13.90)
CIE-LCHlch(60.38, 16.01, 299.72°)
OKLaboklab(66.14% 0.0176 -0.0377)
OKLCHoklch(66.14% 0.042 295.1)
XYZxyz(29.1400, 28.5440, 41.9968)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EAA #A4AA8E
analogous
#8E96AA #948EAA #A28EAA
triadic
#948EAA #AA948E #8EAA94
tetradic
#948EAA #AA8E96 #A4AA8E #8EAAA2
square
#948EAA #AA8E96 #A4AA8E #8EAAA2
split-complementary
#948EAA #AAA28E #96AA8E
monochromatic
#57516C #736C8F #948EAA #B5B1C4 #D6D4DF

Accessibility & contrast

On white

3.13
#948EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#948EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948EAA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EAA#FFFFFF#000000##000000
##948EAA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AB
Deuteranopia (green-blind)
#8991A9
Tritanopia (blue-blind)
#909297
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #948eaa;
/* rgb */ color: rgb(148, 142, 170);
/* oklch */ color: oklch(66.1% 0.042 295.1);
Tailwind
colors: {
  custom: {
    50: '#b3afc3',
    500: '#948eaa',
    950: '#000000',
  },
}
SCSS
$custom: #948eaa;
$custom-light: #b3afc3;
$custom-dark: #000000;
JSON
{
  "hex": "#948eaa",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 170
  },
  "hsl": {
    "h": 252.857,
    "s": 14.141,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6614,
    "c": 0.04157,
    "h": 295.1
  },
  "luminance": 0.28544
}

Semantic roles & 50–950 ramp

primary
#948EAA
secondary
#CDCFC5
accent
#984D88
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #948EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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