#838EFE#838EFE

#838EFE is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.9% C 0.163 H 277.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#838EFE
RGBrgb(131, 142, 254)
HSLhsl(235, 98%, 75%)
HSVhsv(235, 48%, 100%)
CMYKcmyk(48.4%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.78, 25.24, -57.17)
CIE-LCHlch(62.78, 62.49, 293.82°)
OKLaboklab(68.88% 0.0199 -0.1622)
OKLCHoklch(68.88% 0.163 277)
XYZxyz(36.9169, 31.3249, 97.8478)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838EFE #FEF383
analogous
#83CBFE #838EFE #B583FE
triadic
#838EFE #FE838E #8EFE83
tetradic
#838EFE #FE83CB #FEF383 #83FEB5
square
#838EFE #FE83CB #FEF383 #83FEB5
split-complementary
#838EFE #FEB583 #CBFE83
monochromatic
#0A1FFD #4657FE #838EFE #C0C5FE #E1E3FF

Accessibility & contrast

On white

2.89
#838EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#838EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838EFE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838EFE#FFFFFF#000000##000000
##838EFE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5593FC
Tritanopia (blue-blind)
#53A6BA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #838efe;
/* rgb */ color: rgb(131, 142, 254);
/* oklch */ color: oklch(68.9% 0.163 277.0);
Tailwind
colors: {
  custom: {
    50: '#aeaeff',
    500: '#838efe',
    950: '#000000',
  },
}
SCSS
$custom: #838efe;
$custom-light: #aeaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#838efe",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 234.634,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68877,
    "c": 0.16346,
    "h": 277
  },
  "luminance": 0.31327
}

Semantic roles & 50–950 ramp

primary
#838EFE
secondary
#F7F4D4
accent
#D100E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #838EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#838EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva