#948CA2#948CA2

#948CA2 is a light, muted violet. Relative luminance 0.277; OKLCH L 65.4% C 0.033 H 302.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#948CA2
RGBrgb(148, 140, 162)
HSLhsl(262, 11%, 59%)
HSVhsv(262, 14%, 64%)
CMYKcmyk(8.6%, 13.6%, 0%, 36.5%)
CIE-LABlab(59.58, 7.35, -10.54)
CIE-LCHlch(59.58, 12.85, 304.90°)
OKLaboklab(65.43% 0.0177 -0.0284)
OKLCHoklch(65.43% 0.033 302)
XYZxyz(28.1112, 27.6607, 38.0335)
Luminance0.2766 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948CA2 #9AA28C
analogous
#8C8FA2 #948CA2 #9F8CA2
triadic
#948CA2 #A2948C #8CA294
tetradic
#948CA2 #A28C8F #9AA28C #8CA29F
square
#948CA2 #A28C8F #9AA28C #8CA29F
split-complementary
#948CA2 #A29F8C #8FA28C
monochromatic
#575063 #756C85 #948CA2 #B3AEBD #D3D0D9

Accessibility & contrast

On white

3.21
#948CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#948CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948CA2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948CA2#FFFFFF#000000##000000
##948CA21.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#888FA3
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#928F93
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #948ca2;
/* rgb */ color: rgb(148, 140, 162);
/* oklch */ color: oklch(65.4% 0.033 302.0);
Tailwind
colors: {
  custom: {
    50: '#b3adbd',
    500: '#948ca2',
    950: '#000000',
  },
}
SCSS
$custom: #948ca2;
$custom-light: #b3adbd;
$custom-dark: #000000;
JSON
{
  "hex": "#948ca2",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 261.818,
    "s": 10.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.03347,
    "h": 302
  },
  "luminance": 0.27661
}

Semantic roles & 50–950 ramp

primary
#948CA2
secondary
#C6C9C1
accent
#B4749D
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #948CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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