#938CEE#938CEE

#938CEE is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.8% C 0.142 H 285.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#938CEE
RGBrgb(147, 140, 238)
HSLhsl(244, 74%, 74%)
HSVhsv(244, 41%, 93%)
CMYKcmyk(38.2%, 41.2%, 0%, 6.7%)
CIE-LABlab(62.62, 25.68, -48.56)
CIE-LCHlch(62.62, 54.94, 297.87°)
OKLaboklab(68.78% 0.0374 -0.1367)
OKLCHoklch(68.78% 0.142 285.3)
XYZxyz(36.8390, 31.1310, 84.9402)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938CEE #E7EE8C
analogous
#8CB6EE #938CEE #C48CEE
triadic
#938CEE #EE938C #8CEE93
tetradic
#938CEE #EE8CB6 #E7EE8C #8CEEC4
square
#938CEE #EE8CB6 #E7EE8C #8CEEC4
split-complementary
#938CEE #EEC48C #B6EE8C
monochromatic
#2F21DE #6157E6 #938CEE #C5C1F6 #E6E4FB

Accessibility & contrast

On white

2.91
#938CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#938CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #938CEE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938CEE#FFFFFF#000000##000000
##938CEE1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#7A9FB2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #938cee;
/* rgb */ color: rgb(147, 140, 238);
/* oklch */ color: oklch(68.8% 0.142 285.3);
Tailwind
colors: {
  custom: {
    50: '#b6adf4',
    500: '#938cee',
    950: '#000000',
  },
}
SCSS
$custom: #938cee;
$custom-light: #b6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#938cee",
  "rgb": {
    "r": 147,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 244.286,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68776,
    "c": 0.14174,
    "h": 285.3
  },
  "luminance": 0.31132
}

Semantic roles & 50–950 ramp

primary
#938CEE
secondary
#F1F3D8
accent
#D60FC8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #938CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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