#938DFD#938DFD

#938DFD is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.8% C 0.161 H 283.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#938DFD
RGBrgb(147, 141, 253)
HSLhsl(243, 97%, 77%)
HSVhsv(243, 44%, 99%)
CMYKcmyk(41.9%, 44.3%, 0%, 0.8%)
CIE-LABlab(63.63, 29.23, -55.21)
CIE-LCHlch(63.63, 62.47, 297.89°)
OKLaboklab(69.79% 0.0385 -0.1561)
OKLCHoklch(69.79% 0.161 283.8)
XYZxyz(39.2820, 32.3430, 97.0825)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938DFD #F7FD8D
analogous
#8DBFFD #938DFD #CB8DFD
triadic
#938DFD #FD938D #8DFD93
tetradic
#938DFD #FD8DBF #F7FD8D #8DFDCB
square
#938DFD #FD8DBF #F7FD8D #8DFDCB
split-complementary
#938DFD #FDCB8D #BFFD8D
monochromatic
#2115FB #5A51FC #938DFD #CCC9FE #E3E1FE

Accessibility & contrast

On white

2.81
#938DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#938DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #938DFD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938DFD#FFFFFF#000000##000000
##938DFD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5E97FA
Tritanopia (blue-blind)
#73A4B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #938dfd;
/* rgb */ color: rgb(147, 141, 253);
/* oklch */ color: oklch(69.8% 0.161 283.8);
Tailwind
colors: {
  custom: {
    50: '#b7aefe',
    500: '#938dfd',
    950: '#000000',
  },
}
SCSS
$custom: #938dfd;
$custom-light: #b7aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#938dfd",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 243.214,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.6979,
    "c": 0.16082,
    "h": 283.8
  },
  "luminance": 0.32345
}

Semantic roles & 50–950 ramp

primary
#938DFD
secondary
#F5F7D4
accent
#E600D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #938DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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