#838BF5#838BF5

#838BF5 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.8% C 0.155 H 278.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#838BF5
RGBrgb(131, 139, 245)
HSLhsl(236, 85%, 74%)
HSVhsv(236, 47%, 96%)
CMYKcmyk(46.5%, 43.3%, 0%, 3.9%)
CIE-LABlab(61.55, 24.34, -54.19)
CIE-LCHlch(61.55, 59.40, 294.19°)
OKLaboklab(67.79% 0.022 -0.1535)
OKLCHoklch(67.79% 0.155 278.1)
XYZxyz(35.0691, 29.8812, 90.2883)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838BF5 #F5ED83
analogous
#83C4F5 #838BF5 #B483F5
triadic
#838BF5 #F5838B #8BF583
tetradic
#838BF5 #F583C4 #F5ED83 #83F5B4
square
#838BF5 #F583C4 #F5ED83 #83F5B4
split-complementary
#838BF5 #F5B483 #C4F583
monochromatic
#1322EB #4A56F0 #838BF5 #BCC0FA #E3E5FD

Accessibility & contrast

On white

3.01
#838BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#838BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838BF5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838BF5#FFFFFF#000000##000000
##838BF51.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#5AA1B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #838bf5;
/* rgb */ color: rgb(131, 139, 245);
/* oklch */ color: oklch(67.8% 0.155 278.1);
Tailwind
colors: {
  custom: {
    50: '#adacf9',
    500: '#838bf5',
    950: '#000000',
  },
}
SCSS
$custom: #838bf5;
$custom-light: #adacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#838bf5",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 235.789,
    "s": 85.075,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67786,
    "c": 0.15508,
    "h": 278.1
  },
  "luminance": 0.29883
}

Semantic roles & 50–950 ramp

primary
#838BF5
secondary
#F5F3D6
accent
#D204E2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #838BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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