#838BFA#838BFA

#838BFA is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.1% C 0.162 H 278.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#838BFA
RGBrgb(131, 139, 250)
HSLhsl(236, 92%, 75%)
HSVhsv(236, 48%, 98%)
CMYKcmyk(47.6%, 44.4%, 0%, 2%)
CIE-LABlab(61.82, 25.81, -56.51)
CIE-LCHlch(61.82, 62.13, 294.55°)
OKLaboklab(68.08% 0.0227 -0.1603)
OKLCHoklch(68.08% 0.162 278.1)
XYZxyz(35.8427, 30.1907, 94.3627)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838BFA #FAF283
analogous
#83C7FA #838BFA #B683FA
triadic
#838BFA #FA838B #8BFA83
tetradic
#838BFA #FA83C7 #FAF283 #83FAB6
square
#838BFA #FA83C7 #FAF283 #83FAB6
split-complementary
#838BFA #FAB683 #C7FA83
monochromatic
#0D1DF5 #4854F8 #838BFA #BEC2FC #E2E3FE

Accessibility & contrast

On white

2.98
#838BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#838BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838BFA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838BFA#FFFFFF#000000##000000
##838BFA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#57A2B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #838bfa;
/* rgb */ color: rgb(131, 139, 250);
/* oklch */ color: oklch(68.1% 0.162 278.1);
Tailwind
colors: {
  custom: {
    50: '#adacfc',
    500: '#838bfa',
    950: '#000000',
  },
}
SCSS
$custom: #838bfa;
$custom-light: #adacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#838bfa",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 235.966,
    "s": 92.248,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68076,
    "c": 0.16193,
    "h": 278.1
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#838BFA
secondary
#F6F4D5
accent
#D600E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #838BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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