#948BB3#948BB3

#948BB3 is a light, muted violet. Relative luminance 0.280; OKLCH L 65.9% C 0.059 H 295.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#948BB3
RGBrgb(148, 139, 179)
HSLhsl(254, 21%, 62%)
HSVhsv(254, 22%, 70%)
CMYKcmyk(17.3%, 22.3%, 0%, 29.8%)
CIE-LABlab(59.90, 11.67, -19.73)
CIE-LCHlch(59.90, 22.93, 300.60°)
OKLaboklab(65.88% 0.0252 -0.0539)
OKLCHoklch(65.88% 0.06 295)
XYZxyz(29.5803, 28.0156, 46.4882)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948BB3 #AAB38B
analogous
#8B96B3 #948BB3 #A88BB3
triadic
#948BB3 #B3948B #8BB394
tetradic
#948BB3 #B38B96 #AAB38B #8BB3A8
square
#948BB3 #B38B96 #AAB38B #8BB3A8
split-complementary
#948BB3 #B3A88B #96B38B
monochromatic
#574D76 #72669B #948BB3 #B6B0CB #D8D5E3

Accessibility & contrast

On white

3.18
#948BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#948BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948BB3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948BB3#FFFFFF#000000##000000
##948BB31.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8291B5
Deuteranopia (green-blind)
#8390B2
Tritanopia (blue-blind)
#8E9199
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #948bb3;
/* rgb */ color: rgb(148, 139, 179);
/* oklch */ color: oklch(65.9% 0.059 295.0);
Tailwind
colors: {
  custom: {
    50: '#b3acc9',
    500: '#948bb3',
    950: '#000000',
  },
}
SCSS
$custom: #948bb3;
$custom-light: #b3acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#948bb3",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 253.5,
    "s": 20.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65877,
    "c": 0.0595,
    "h": 295
  },
  "luminance": 0.28016
}

Semantic roles & 50–950 ramp

primary
#948BB3
secondary
#D1D4C6
accent
#9F468B
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #948BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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