#948BCC#948BCC

#948BCC is a light, moderate blue. Relative luminance 0.291; OKLCH L 67.0% C 0.095 H 289.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#948BCC
RGBrgb(148, 139, 204)
HSLhsl(248, 39%, 67%)
HSVhsv(248, 32%, 80%)
CMYKcmyk(27.5%, 31.9%, 0%, 20%)
CIE-LABlab(60.89, 17.66, -32.34)
CIE-LCHlch(60.89, 36.84, 298.64°)
OKLaboklab(66.96% 0.0325 -0.0897)
OKLCHoklch(66.96% 0.095 289.9)
XYZxyz(32.3417, 29.1202, 61.0318)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948BCC #C3CC8B
analogous
#8BA2CC #948BCC #B58BCC
triadic
#948BCC #CC948B #8BCC94
tetradic
#948BCC #CC8BA2 #C3CC8B #8BCCB5
square
#948BCC #CC8BA2 #C3CC8B #8BCCB5
split-complementary
#948BCC #CCB58B #A2CC8B
monochromatic
#4F4399 #6D60B9 #948BCC #BBB6DF #E2E0F1

Accessibility & contrast

On white

3.08
#948BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#948BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948BCC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948BCC#FFFFFF#000000##000000
##948BCC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#7A91CA
Tritanopia (blue-blind)
#8796A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #948bcc;
/* rgb */ color: rgb(148, 139, 204);
/* oklch */ color: oklch(67.0% 0.095 289.9);
Tailwind
colors: {
  custom: {
    50: '#b5acdb',
    500: '#948bcc',
    950: '#000000',
  },
}
SCSS
$custom: #948bcc;
$custom-light: #b5acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#948bcc",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 204
  },
  "hsl": {
    "h": 248.308,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66961,
    "c": 0.09542,
    "h": 289.9
  },
  "luminance": 0.29121
}

Semantic roles & 50–950 ramp

primary
#948BCC
secondary
#E1E4CF
accent
#B234A0
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #948BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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