#848CF5#848CF5

#848CF5 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.154 H 278.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#848CF5
RGBrgb(132, 140, 245)
HSLhsl(236, 85%, 74%)
HSVhsv(236, 46%, 96%)
CMYKcmyk(46.1%, 42.9%, 0%, 3.9%)
CIE-LABlab(61.87, 23.99, -53.67)
CIE-LCHlch(61.87, 58.79, 294.08°)
OKLaboklab(68.05% 0.0219 -0.152)
OKLCHoklch(68.05% 0.154 278.2)
XYZxyz(35.3702, 30.2524, 90.3441)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848CF5 #F5ED84
analogous
#84C5F5 #848CF5 #B584F5
triadic
#848CF5 #F5848C #8CF584
tetradic
#848CF5 #F584C5 #F5ED84 #84F5B5
square
#848CF5 #F584C5 #F5ED84 #84F5B5
split-complementary
#848CF5 #F5B584 #C5F584
monochromatic
#1322EB #4B57F0 #848CF5 #BDC1FA #E3E5FD

Accessibility & contrast

On white

2.98
#848CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#848CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #848CF5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848CF5#FFFFFF#000000##000000
##848CF51.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#5CA2B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #848cf5;
/* rgb */ color: rgb(132, 140, 245);
/* oklch */ color: oklch(68.0% 0.154 278.2);
Tailwind
colors: {
  custom: {
    50: '#adadf9',
    500: '#848cf5',
    950: '#000000',
  },
}
SCSS
$custom: #848cf5;
$custom-light: #adadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#848cf5",
  "rgb": {
    "r": 132,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 235.752,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.15356,
    "h": 278.2
  },
  "luminance": 0.30254
}

Semantic roles & 50–950 ramp

primary
#848CF5
secondary
#F5F3D6
accent
#D204E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #848CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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