#938EE7#938EE7

#938EE7 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.8% C 0.129 H 285.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#938EE7
RGBrgb(147, 142, 231)
HSLhsl(243, 65%, 73%)
HSVhsv(243, 39%, 91%)
CMYKcmyk(36.4%, 38.5%, 0%, 9.4%)
CIE-LABlab(62.77, 22.64, -44.45)
CIE-LCHlch(62.77, 49.88, 296.99°)
OKLaboklab(68.79% 0.0335 -0.1247)
OKLCHoklch(68.79% 0.129 285)
XYZxyz(36.1254, 31.3174, 79.7273)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938EE7 #E2E78E
analogous
#8EB5E7 #938EE7 #BF8EE7
triadic
#938EE7 #E7938E #8EE793
tetradic
#938EE7 #E78EB5 #E2E78E #8EE7BF
square
#938EE7 #E78EB5 #E2E78E #8EE7BF
split-complementary
#938EE7 #E7BF8E #B5E78E
monochromatic
#352CCF #635CDC #938EE7 #C3C0F2 #E7E6FA

Accessibility & contrast

On white

2.89
#938EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#938EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #938EE7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938EE7#FFFFFF#000000##000000
##938EE71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AEA
Deuteranopia (green-blind)
#6F95E5
Tritanopia (blue-blind)
#7C9FAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #938ee7;
/* rgb */ color: rgb(147, 142, 231);
/* oklch */ color: oklch(68.8% 0.129 285.0);
Tailwind
colors: {
  custom: {
    50: '#b5afef',
    500: '#938ee7',
    950: '#000000',
  },
}
SCSS
$custom: #938ee7;
$custom-light: #b5afef;
$custom-dark: #000000;
JSON
{
  "hex": "#938ee7",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 243.371,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.12916,
    "h": 285
  },
  "luminance": 0.31319
}

Semantic roles & 50–950 ramp

primary
#938EE7
secondary
#F0F1DA
accent
#CD19C3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #938EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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