#938CF1#938CF1

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

Color values

HEX#938CF1
RGBrgb(147, 140, 241)
HSLhsl(244, 78%, 75%)
HSVhsv(244, 42%, 95%)
CMYKcmyk(39%, 41.9%, 0%, 5.5%)
CIE-LABlab(62.77, 26.50, -49.98)
CIE-LCHlch(62.77, 56.57, 297.93°)
OKLaboklab(68.94% 0.0379 -0.1409)
OKLCHoklch(68.94% 0.146 285)
XYZxyz(37.2834, 31.3088, 87.2808)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938CF1 #EAF18C
analogous
#8CB8F1 #938CF1 #C58CF1
triadic
#938CF1 #F1938C #8CF193
tetradic
#938CF1 #F18CB8 #EAF18C #8CF1C5
square
#938CF1 #F18CB8 #EAF18C #8CF1C5
split-complementary
#938CF1 #F1C58C #B8F18C
monochromatic
#2D1FE4 #6055EA #938CF1 #C6C3F8 #E5E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938CF1#FFFFFF#000000##000000
##938CF11.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)
#699BF5
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#78A0B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #938cf1;
/* rgb */ color: rgb(147, 140, 241);
/* oklch */ color: oklch(68.9% 0.146 285.0);
Tailwind
colors: {
  custom: {
    50: '#b6adf6',
    500: '#938cf1',
    950: '#000000',
  },
}
SCSS
$custom: #938cf1;
$custom-light: #b6adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#938cf1",
  "rgb": {
    "r": 147,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 244.158,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68939,
    "c": 0.14586,
    "h": 285
  },
  "luminance": 0.3131
}

Semantic roles & 50–950 ramp

primary
#938CF1
secondary
#F2F3D8
accent
#DB0BCC
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #938CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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