#938CF4#938CF4

#938CF4 is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.1% C 0.150 H 284.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#938CF4
RGBrgb(147, 140, 244)
HSLhsl(244, 83%, 75%)
HSVhsv(244, 43%, 96%)
CMYKcmyk(39.8%, 42.6%, 0%, 4.3%)
CIE-LABlab(62.92, 27.32, -51.39)
CIE-LCHlch(62.92, 58.20, 297.99°)
OKLaboklab(69.1% 0.0384 -0.145)
OKLCHoklch(69.1% 0.15 284.8)
XYZxyz(37.7352, 31.4895, 89.6602)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938CF4 #EDF48C
analogous
#8CB9F4 #938CF4 #C78CF4
triadic
#938CF4 #F4938C #8CF493
tetradic
#938CF4 #F48CB9 #EDF48C #8CF4C7
square
#938CF4 #F48CB9 #EDF48C #8CF4C7
split-complementary
#938CF4 #F4C78C #B9F48C
monochromatic
#2A1CE9 #5F54EF #938CF4 #C7C4F9 #E5E3FC

Accessibility & contrast

On white

2.88
#938CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#938CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #938CF4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938CF4#FFFFFF#000000##000000
##938CF41.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#6495F2
Tritanopia (blue-blind)
#77A1B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #938cf4;
/* rgb */ color: rgb(147, 140, 244);
/* oklch */ color: oklch(69.1% 0.150 284.8);
Tailwind
colors: {
  custom: {
    50: '#b7adf8',
    500: '#938cf4',
    950: '#000000',
  },
}
SCSS
$custom: #938cf4;
$custom-light: #b7adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#938cf4",
  "rgb": {
    "r": 147,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 244.038,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.14998,
    "h": 284.8
  },
  "luminance": 0.31491
}

Semantic roles & 50–950 ramp

primary
#938CF4
secondary
#F2F4D7
accent
#DF07D0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #938CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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