#938BC7#938BC7

#938BC7 is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.6% C 0.088 H 289.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#938BC7
RGBrgb(147, 139, 199)
HSLhsl(248, 35%, 66%)
HSVhsv(248, 30%, 78%)
CMYKcmyk(26.1%, 30.2%, 0%, 22%)
CIE-LABlab(60.60, 16.12, -29.98)
CIE-LCHlch(60.60, 34.04, 298.26°)
OKLaboklab(66.65% 0.03 -0.083)
OKLCHoklch(66.65% 0.088 289.9)
XYZxyz(31.5715, 28.7913, 57.9157)
Luminance0.2879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938BC7 #BFC78B
analogous
#8BA1C7 #938BC7 #B18BC7
triadic
#938BC7 #C7938B #8BC793
tetradic
#938BC7 #C78BA1 #BFC78B #8BC7B1
square
#938BC7 #C78BA1 #BFC78B #8BC7B1
split-complementary
#938BC7 #C7B18B #A1C78B
monochromatic
#504691 #6D62B3 #938BC7 #B9B4DB #E0DEEF

Accessibility & contrast

On white

3.11
#938BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#938BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938BC7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938BC7#FFFFFF#000000##000000
##938BC71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B93C9
Deuteranopia (green-blind)
#7B91C5
Tritanopia (blue-blind)
#8895A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #938bc7;
/* rgb */ color: rgb(147, 139, 199);
/* oklch */ color: oklch(66.6% 0.088 289.9);
Tailwind
colors: {
  custom: {
    50: '#b4acd8',
    500: '#938bc7',
    950: '#000000',
  },
}
SCSS
$custom: #938bc7;
$custom-light: #b4acd8;
$custom-dark: #000000;
JSON
{
  "hex": "#938bc7",
  "rgb": {
    "r": 147,
    "g": 139,
    "b": 199
  },
  "hsl": {
    "h": 248,
    "s": 34.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.08826,
    "h": 289.9
  },
  "luminance": 0.28792
}

Semantic roles & 50–950 ramp

primary
#938BC7
secondary
#DEE1CD
accent
#AE389E
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #938BC7

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

Preview Lab → · Contrast checker → · Palette generator →

#938BC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva