#838AFA#838AFA

#838AFA is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.9% C 0.163 H 278.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#838AFA
RGBrgb(131, 138, 250)
HSLhsl(236, 92%, 75%)
HSVhsv(236, 48%, 98%)
CMYKcmyk(47.6%, 44.8%, 0%, 2%)
CIE-LABlab(61.57, 26.40, -56.91)
CIE-LCHlch(61.57, 62.73, 294.88°)
OKLaboklab(67.89% 0.0239 -0.1615)
OKLCHoklch(67.89% 0.163 278.4)
XYZxyz(35.6986, 29.9024, 94.3146)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838AFA #FAF383
analogous
#83C5FA #838AFA #B883FA
triadic
#838AFA #FA838A #8AFA83
tetradic
#838AFA #FA83C5 #FAF383 #83FAB8
square
#838AFA #FA83C5 #FAF383 #83FAB8
split-complementary
#838AFA #FAB883 #C5FA83
monochromatic
#0D1BF5 #4852F8 #838AFA #BEC2FC #E2E3FE

Accessibility & contrast

On white

3.01
#838AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#838AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838AFA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838AFA#FFFFFF#000000##000000
##838AFA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #838afa;
/* rgb */ color: rgb(131, 138, 250);
/* oklch */ color: oklch(67.9% 0.163 278.4);
Tailwind
colors: {
  custom: {
    50: '#adacfc',
    500: '#838afa',
    950: '#000000',
  },
}
SCSS
$custom: #838afa;
$custom-light: #adacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#838afa",
  "rgb": {
    "r": 131,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 236.471,
    "s": 92.248,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67887,
    "c": 0.16325,
    "h": 278.4
  },
  "luminance": 0.29904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #838AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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