#938BF1#938BF1

#938BF1 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.8% C 0.147 H 285.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#938BF1
RGBrgb(147, 139, 241)
HSLhsl(245, 78%, 75%)
HSVhsv(245, 42%, 95%)
CMYKcmyk(39%, 42.3%, 0%, 5.5%)
CIE-LABlab(62.52, 27.08, -50.37)
CIE-LCHlch(62.52, 57.19, 298.26°)
OKLaboklab(68.75% 0.0391 -0.142)
OKLCHoklch(68.75% 0.147 285.4)
XYZxyz(37.1380, 31.0178, 87.2323)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938BF1 #E9F18B
analogous
#8BB6F1 #938BF1 #C68BF1
triadic
#938BF1 #F1938B #8BF193
tetradic
#938BF1 #F18BB6 #E9F18B #8BF1C6
square
#938BF1 #F18BB6 #E9F18B #8BF1C6
split-complementary
#938BF1 #F1C68B #B6F18B
monochromatic
#2D1EE4 #6054EA #938BF1 #C6C2F8 #E6E4FC

Accessibility & contrast

On white

2.92
#938BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#938BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #938BF1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938BF1#FFFFFF#000000##000000
##938BF11.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#6594EF
Tritanopia (blue-blind)
#789FB2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #938bf1;
/* rgb */ color: rgb(147, 139, 241);
/* oklch */ color: oklch(68.8% 0.147 285.4);
Tailwind
colors: {
  custom: {
    50: '#b6adf6',
    500: '#938bf1',
    950: '#000000',
  },
}
SCSS
$custom: #938bf1;
$custom-light: #b6adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#938bf1",
  "rgb": {
    "r": 147,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 244.706,
    "s": 78.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68753,
    "c": 0.14729,
    "h": 285.4
  },
  "luminance": 0.31019
}

Semantic roles & 50–950 ramp

primary
#938BF1
secondary
#F1F4D7
accent
#DB0BCA
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #938BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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