#838EF9#838EF9

#838EF9 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.6% C 0.157 H 277.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#838EF9
RGBrgb(131, 142, 249)
HSLhsl(234, 91%, 75%)
HSVhsv(234, 47%, 98%)
CMYKcmyk(47.4%, 43%, 0%, 2.4%)
CIE-LABlab(62.52, 23.76, -54.85)
CIE-LCHlch(62.52, 59.78, 293.42°)
OKLaboklab(68.59% 0.0191 -0.1555)
OKLCHoklch(68.59% 0.157 277)
XYZxyz(36.1267, 31.0088, 93.6859)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838EF9 #F9EE83
analogous
#83C9F9 #838EF9 #B383F9
triadic
#838EF9 #F9838E #8EF983
tetradic
#838EF9 #F983C9 #F9EE83 #83F9B3
square
#838EF9 #F983C9 #F9EE83 #83F9B3
split-complementary
#838EF9 #F9B383 #C9F983
monochromatic
#0E24F3 #4959F6 #838EF9 #BDC3FC #E2E4FE

Accessibility & contrast

On white

2.92
#838EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#838EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838EF9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838EF9#FFFFFF#000000##000000
##838EF91.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)
#639CFD
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#57A5B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #838ef9;
/* rgb */ color: rgb(131, 142, 249);
/* oklch */ color: oklch(68.6% 0.157 277.0);
Tailwind
colors: {
  custom: {
    50: '#adaefc',
    500: '#838ef9',
    950: '#000000',
  },
}
SCSS
$custom: #838ef9;
$custom-light: #adaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#838ef9",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 234.407,
    "s": 90.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.15663,
    "h": 277
  },
  "luminance": 0.31011
}

Semantic roles & 50–950 ramp

primary
#838EF9
secondary
#F6F3D5
accent
#D000E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #838EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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