#838DF6#838DF6

#838DF6 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.154 H 277.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#838DF6
RGBrgb(131, 141, 246)
HSLhsl(235, 86%, 74%)
HSVhsv(235, 47%, 96%)
CMYKcmyk(46.7%, 42.7%, 0%, 3.5%)
CIE-LABlab(62.11, 23.46, -53.86)
CIE-LCHlch(62.11, 58.75, 293.54°)
OKLaboklab(68.23% 0.0198 -0.1525)
OKLCHoklch(68.23% 0.154 277.4)
XYZxyz(35.5144, 30.5269, 91.1919)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838DF6 #F6EC83
analogous
#83C7F6 #838DF6 #B383F6
triadic
#838DF6 #F6838D #8DF683
tetradic
#838DF6 #F683C7 #F6EC83 #83F6B3
square
#838DF6 #F683C7 #F6EC83 #83F6B3
split-complementary
#838DF6 #F6B383 #C7F683
monochromatic
#1124ED #4A59F2 #838DF6 #BCC1FA #E2E5FD

Accessibility & contrast

On white

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

On black

7.11
#838DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838DF6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838DF6#FFFFFF#000000##000000
##838DF61.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#59A3B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #838df6;
/* rgb */ color: rgb(131, 141, 246);
/* oklch */ color: oklch(68.2% 0.154 277.4);
Tailwind
colors: {
  custom: {
    50: '#adaefa',
    500: '#838df6',
    950: '#000000',
  },
}
SCSS
$custom: #838df6;
$custom-light: #adaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#838df6",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 234.783,
    "s": 86.466,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.15382,
    "h": 277.4
  },
  "luminance": 0.30529
}

Semantic roles & 50–950 ramp

primary
#838DF6
secondary
#F5F2D6
accent
#CF03E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #838DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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