#848EF6#848EF6

#848EF6 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.152 H 277.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#848EF6
RGBrgb(132, 142, 246)
HSLhsl(235, 86%, 74%)
HSVhsv(235, 46%, 96%)
CMYKcmyk(46.3%, 42.3%, 0%, 3.5%)
CIE-LABlab(62.43, 23.11, -53.34)
CIE-LCHlch(62.43, 58.13, 293.42°)
OKLaboklab(68.49% 0.0197 -0.151)
OKLCHoklch(68.49% 0.152 277.4)
XYZxyz(35.8182, 30.9034, 91.2485)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848EF6 #F6EC84
analogous
#84C7F6 #848EF6 #B384F6
triadic
#848EF6 #F6848E #8EF684
tetradic
#848EF6 #F684C7 #F6EC84 #84F6B3
square
#848EF6 #F684C7 #F6EC84 #84F6B3
split-complementary
#848EF6 #F6B384 #C7F684
monochromatic
#1225EE #4B5AF2 #848EF6 #BDC2FA #E2E5FD

Accessibility & contrast

On white

2.92
#848EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#848EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #848EF6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848EF6#FFFFFF#000000##000000
##848EF61.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFA
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#5BA4B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #848ef6;
/* rgb */ color: rgb(132, 142, 246);
/* oklch */ color: oklch(68.5% 0.152 277.4);
Tailwind
colors: {
  custom: {
    50: '#adaefa',
    500: '#848ef6',
    950: '#000000',
  },
}
SCSS
$custom: #848ef6;
$custom-light: #adaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#848ef6",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 234.737,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68487,
    "c": 0.15229,
    "h": 277.4
  },
  "luminance": 0.30905
}

Semantic roles & 50–950 ramp

primary
#848EF6
secondary
#F5F2D6
accent
#CF03E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #848EF6

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

Preview Lab → · Contrast checker → · Palette generator →

#848EF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva