#848EF2#848EF2

#848EF2 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.147 H 277.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#848EF2
RGBrgb(132, 142, 242)
HSLhsl(235, 81%, 73%)
HSVhsv(235, 45%, 95%)
CMYKcmyk(45.5%, 41.3%, 0%, 5.1%)
CIE-LABlab(62.22, 21.95, -51.47)
CIE-LCHlch(62.22, 55.95, 293.09°)
OKLaboklab(68.26% 0.019 -0.1455)
OKLCHoklch(68.26% 0.147 277.4)
XYZxyz(35.2108, 30.6605, 88.0499)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848EF2 #F2E884
analogous
#84C5F2 #848EF2 #B184F2
triadic
#848EF2 #F2848E #8EF284
tetradic
#848EF2 #F284C5 #F2E884 #84F2B1
square
#848EF2 #F284C5 #F2E884 #84F2B1
split-complementary
#848EF2 #F2B184 #C5F284
monochromatic
#182BE4 #4D5BEC #848EF2 #BBC1F8 #E3E6FC

Accessibility & contrast

On white

2.94
#848EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#848EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #848EF2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848EF2#FFFFFF#000000##000000
##848EF21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#5DA3B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #848ef2;
/* rgb */ color: rgb(132, 142, 242);
/* oklch */ color: oklch(68.3% 0.147 277.4);
Tailwind
colors: {
  custom: {
    50: '#adaef7',
    500: '#848ef2',
    950: '#000000',
  },
}
SCSS
$custom: #848ef2;
$custom-light: #adaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#848ef2",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 234.545,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68263,
    "c": 0.14677,
    "h": 277.4
  },
  "luminance": 0.30662
}

Semantic roles & 50–950 ramp

primary
#848EF2
secondary
#F4F1D7
accent
#CA08DD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #848EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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