#838CF9#838CF9

#838CF9 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.2% C 0.159 H 277.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#838CF9
RGBrgb(131, 140, 249)
HSLhsl(235, 91%, 75%)
HSVhsv(235, 47%, 98%)
CMYKcmyk(47.4%, 43.8%, 0%, 2.4%)
CIE-LABlab(62.01, 24.93, -55.65)
CIE-LCHlch(62.01, 60.98, 294.13°)
OKLaboklab(68.21% 0.0214 -0.1578)
OKLCHoklch(68.21% 0.159 277.7)
XYZxyz(35.8318, 30.4190, 93.5876)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838CF9 #F9F083
analogous
#83C7F9 #838CF9 #B583F9
triadic
#838CF9 #F9838C #8CF983
tetradic
#838CF9 #F983C7 #F9F083 #83F9B5
square
#838CF9 #F983C7 #F9F083 #83F9B5
split-complementary
#838CF9 #F9B583 #C7F983
monochromatic
#0E20F3 #4956F6 #838CF9 #BDC2FC #E2E4FE

Accessibility & contrast

On white

2.96
#838CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#838CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838CF9
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838CF9#FFFFFF#000000##000000
##838CF91.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFD
Deuteranopia (green-blind)
#5691F7
Tritanopia (blue-blind)
#57A3B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #838cf9;
/* rgb */ color: rgb(131, 140, 249);
/* oklch */ color: oklch(68.2% 0.159 277.7);
Tailwind
colors: {
  custom: {
    50: '#adadfc',
    500: '#838cf9',
    950: '#000000',
  },
}
SCSS
$custom: #838cf9;
$custom-light: #adadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#838cf9",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 235.424,
    "s": 90.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.15925,
    "h": 277.7
  },
  "luminance": 0.30421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #838CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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