#838DE8#838DE8

#838DE8 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.4% C 0.134 H 277.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#838DE8
RGBrgb(131, 141, 232)
HSLhsl(234, 69%, 71%)
HSVhsv(234, 44%, 91%)
CMYKcmyk(43.5%, 39.2%, 0%, 9%)
CIE-LABlab(61.39, 19.40, -47.26)
CIE-LCHlch(61.39, 51.08, 292.32°)
OKLaboklab(67.45% 0.0173 -0.1332)
OKLCHoklch(67.45% 0.134 277.4)
XYZxyz(33.4460, 29.6996, 80.2986)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838DE8 #E8DE83
analogous
#83BFE8 #838DE8 #AB83E8
triadic
#838DE8 #E8838D #8DE883
tetradic
#838DE8 #E883BF #E8DE83 #83E8AB
square
#838DE8 #E883BF #E8DE83 #83E8AB
split-complementary
#838DE8 #E8AB83 #BFE883
monochromatic
#2636CB #4F5EDE #838DE8 #B7BCF2 #E5E7FA

Accessibility & contrast

On white

3.03
#838DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#838DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838DE8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838DE8#FFFFFF#000000##000000
##838DE81.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EC
Deuteranopia (green-blind)
#6490E6
Tritanopia (blue-blind)
#61A0AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #838de8;
/* rgb */ color: rgb(131, 141, 232);
/* oklch */ color: oklch(67.4% 0.134 277.4);
Tailwind
colors: {
  custom: {
    50: '#abaef0',
    500: '#838de8',
    950: '#000000',
  },
}
SCSS
$custom: #838de8;
$custom-light: #abaef0;
$custom-dark: #000000;
JSON
{
  "hex": "#838de8",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 232
  },
  "hsl": {
    "h": 234.059,
    "s": 68.707,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67449,
    "c": 0.13437,
    "h": 277.4
  },
  "luminance": 0.29701
}

Semantic roles & 50–950 ramp

primary
#838DE8
secondary
#F1EED6
accent
#BE15D1
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #838DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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