#838CFC#838CFC

#838CFC is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.4% C 0.163 H 277.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#838CFC
RGBrgb(131, 140, 252)
HSLhsl(236, 95%, 75%)
HSVhsv(236, 48%, 99%)
CMYKcmyk(48%, 44.4%, 0%, 1.2%)
CIE-LABlab(62.18, 25.82, -57.04)
CIE-LCHlch(62.18, 62.61, 294.35°)
OKLaboklab(68.38% 0.0219 -0.1619)
OKLCHoklch(68.38% 0.163 277.7)
XYZxyz(36.3034, 30.6077, 96.0715)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838CFC #FCF383
analogous
#83C9FC #838CFC #B683FC
triadic
#838CFC #FC838C #8CFC83
tetradic
#838CFC #FC83C9 #FCF383 #83FCB6
square
#838CFC #FC83C9 #FCF383 #83FCB6
split-complementary
#838CFC #FCB683 #C9FC83
monochromatic
#0B1DF9 #4755FB #838CFC #BFC3FD #E1E3FE

Accessibility & contrast

On white

2.95
#838CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#838CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838CFC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838CFC#FFFFFF#000000##000000
##838CFC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#55A4B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #838cfc;
/* rgb */ color: rgb(131, 140, 252);
/* oklch */ color: oklch(68.4% 0.163 277.7);
Tailwind
colors: {
  custom: {
    50: '#adadfe',
    500: '#838cfc',
    950: '#000000',
  },
}
SCSS
$custom: #838cfc;
$custom-light: #adadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#838cfc",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 235.537,
    "s": 95.276,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.16335,
    "h": 277.7
  },
  "luminance": 0.3061
}

Semantic roles & 50–950 ramp

primary
#838CFC
secondary
#F7F4D4
accent
#D400E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #838CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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