#838FF7#838FF7

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

Color values

HEX#838FF7
RGBrgb(131, 143, 247)
HSLhsl(234, 88%, 74%)
HSVhsv(234, 47%, 97%)
CMYKcmyk(47%, 42.1%, 0%, 3.1%)
CIE-LABlab(62.66, 22.59, -53.52)
CIE-LCHlch(62.66, 58.09, 292.88°)
OKLaboklab(68.67% 0.0176 -0.1515)
OKLCHoklch(68.67% 0.153 276.6)
XYZxyz(35.9658, 31.1836, 92.1016)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838FF7 #F7EB83
analogous
#83C9F7 #838FF7 #B183F7
triadic
#838FF7 #F7838F #8FF783
tetradic
#838FF7 #F783C9 #F7EB83 #83F7B1
square
#838FF7 #F783C9 #F7EB83 #83F7B1
split-complementary
#838FF7 #F7B183 #C9F783
monochromatic
#1027F0 #4A5BF3 #838FF7 #BCC3FB #E2E5FD

Accessibility & contrast

On white

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

On black

7.24
#838FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838FF7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838FF7#FFFFFF#000000##000000
##838FF71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#58A5B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #838ff7;
/* rgb */ color: rgb(131, 143, 247);
/* oklch */ color: oklch(68.7% 0.153 276.6);
Tailwind
colors: {
  custom: {
    50: '#adaffa',
    500: '#838ff7',
    950: '#000000',
  },
}
SCSS
$custom: #838ff7;
$custom-light: #adaffa;
$custom-dark: #000000;
JSON
{
  "hex": "#838ff7",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 233.793,
    "s": 87.879,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68667,
    "c": 0.15257,
    "h": 276.6
  },
  "luminance": 0.31186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #838FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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