#848EFA#848EFA

#848EFA is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.7% C 0.158 H 277.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#848EFA
RGBrgb(132, 142, 250)
HSLhsl(235, 92%, 75%)
HSVhsv(235, 47%, 98%)
CMYKcmyk(47.2%, 43.2%, 0%, 2%)
CIE-LABlab(62.64, 24.28, -55.21)
CIE-LCHlch(62.64, 60.31, 293.74°)
OKLaboklab(68.72% 0.0203 -0.1565)
OKLCHoklch(68.72% 0.158 277.4)
XYZxyz(36.4387, 31.1517, 94.5168)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848EFA #FAF084
analogous
#84C9FA #848EFA #B584FA
triadic
#848EFA #FA848E #8EFA84
tetradic
#848EFA #FA84C9 #FAF084 #84FAB5
square
#848EFA #FA84C9 #FAF084 #84FAB5
split-complementary
#848EFA #FAB584 #C9FA84
monochromatic
#0E22F5 #4958F8 #848EFA #BFC4FC #E2E4FE

Accessibility & contrast

On white

2.90
#848EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#848EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #848EFA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848EFA#FFFFFF#000000##000000
##848EFA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#58A5B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #848efa;
/* rgb */ color: rgb(132, 142, 250);
/* oklch */ color: oklch(68.7% 0.158 277.4);
Tailwind
colors: {
  custom: {
    50: '#aeaefc',
    500: '#848efa',
    950: '#000000',
  },
}
SCSS
$custom: #848efa;
$custom-light: #aeaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#848efa",
  "rgb": {
    "r": 132,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 234.915,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68715,
    "c": 0.15778,
    "h": 277.4
  },
  "luminance": 0.31154
}

Semantic roles & 50–950 ramp

primary
#848EFA
secondary
#F6F3D5
accent
#D200E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #848EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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