#838FF8#838FF8

#838FF8 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.7% C 0.154 H 276.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#838FF8
RGBrgb(131, 143, 248)
HSLhsl(234, 89%, 74%)
HSVhsv(234, 47%, 97%)
CMYKcmyk(47.2%, 42.3%, 0%, 2.7%)
CIE-LABlab(62.71, 22.88, -53.99)
CIE-LCHlch(62.71, 58.64, 292.97°)
OKLaboklab(68.72% 0.0178 -0.1529)
OKLCHoklch(68.72% 0.154 276.6)
XYZxyz(36.1206, 31.2455, 92.9164)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838FF8 #F8EC83
analogous
#83CAF8 #838FF8 #B283F8
triadic
#838FF8 #F8838F #8FF883
tetradic
#838FF8 #F883CA #F8EC83 #83F8B2
square
#838FF8 #F883CA #F8EC83 #83F8B2
split-complementary
#838FF8 #F8B283 #CAF883
monochromatic
#0F26F1 #495BF5 #838FF8 #BDC3FB #E2E5FD

Accessibility & contrast

On white

2.90
#838FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#838FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838FF8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838FF8#FFFFFF#000000##000000
##838FF81.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFC
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#57A5B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #838ff8;
/* rgb */ color: rgb(131, 143, 248);
/* oklch */ color: oklch(68.7% 0.154 276.6);
Tailwind
colors: {
  custom: {
    50: '#adaffb',
    500: '#838ff8',
    950: '#000000',
  },
}
SCSS
$custom: #838ff8;
$custom-light: #adaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#838ff8",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 233.846,
    "s": 89.313,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68723,
    "c": 0.15395,
    "h": 276.6
  },
  "luminance": 0.31248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #838FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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