#848EF5#848EF5

#848EF5 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.151 H 277.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#848EF5
RGBrgb(132, 142, 245)
HSLhsl(235, 85%, 74%)
HSVhsv(235, 46%, 96%)
CMYKcmyk(46.1%, 42%, 0%, 3.9%)
CIE-LABlab(62.37, 22.82, -52.88)
CIE-LCHlch(62.37, 57.59, 293.34°)
OKLaboklab(68.43% 0.0195 -0.1496)
OKLCHoklch(68.43% 0.151 277.4)
XYZxyz(35.6651, 30.8422, 90.4424)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848EF5 #F5EB84
analogous
#84C7F5 #848EF5 #B384F5
triadic
#848EF5 #F5848E #8EF584
tetradic
#848EF5 #F584C7 #F5EB84 #84F5B3
square
#848EF5 #F584C7 #F5EB84 #84F5B3
split-complementary
#848EF5 #F5B384 #C7F584
monochromatic
#1326EB #4B5AF0 #848EF5 #BDC2FA #E3E5FD

Accessibility & contrast

On white

2.93
#848EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#848EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #848EF5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848EF5#FFFFFF#000000##000000
##848EF51.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#5BA3B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #848ef5;
/* rgb */ color: rgb(132, 142, 245);
/* oklch */ color: oklch(68.4% 0.151 277.4);
Tailwind
colors: {
  custom: {
    50: '#adaef9',
    500: '#848ef5',
    950: '#000000',
  },
}
SCSS
$custom: #848ef5;
$custom-light: #adaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#848ef5",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 234.69,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68431,
    "c": 0.15091,
    "h": 277.4
  },
  "luminance": 0.30844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #848EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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