#847AFE#847AFE

#847AFE is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.3% C 0.190 H 283.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#847AFE
RGBrgb(132, 122, 254)
HSLhsl(245, 99%, 74%)
HSVhsv(245, 52%, 100%)
CMYKcmyk(48%, 52%, 0%, 0.4%)
CIE-LABlab(58.02, 37.14, -64.79)
CIE-LCHlch(58.02, 74.69, 299.82°)
OKLaboklab(65.3% 0.0434 -0.1847)
OKLCHoklch(65.3% 0.19 283.2)
XYZxyz(34.3593, 25.9786, 96.9506)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847AFE #F4FE7A
analogous
#7AB2FE #847AFE #C67AFE
triadic
#847AFE #FE847A #7AFE84
tetradic
#847AFE #FE7AB2 #F4FE7A #7AFEC6
square
#847AFE #FE7AB2 #F4FE7A #7AFEC6
split-complementary
#847AFE #FEC67A #B2FE7A
monochromatic
#1502FC #4C3DFE #847AFE #BCB7FE #E3E1FF

Accessibility & contrast

On white

3.39
#847AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#847AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #847AFE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##847AFE#FFFFFF#000000##000000
##847AFE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#2D87FB
Tritanopia (blue-blind)
#5897B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #847afe;
/* rgb */ color: rgb(132, 122, 254);
/* oklch */ color: oklch(65.3% 0.190 283.2);
Tailwind
colors: {
  custom: {
    50: '#afa0ff',
    500: '#847afe',
    950: '#000000',
  },
}
SCSS
$custom: #847afe;
$custom-light: #afa0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#847afe",
  "rgb": {
    "r": 132,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 244.545,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65303,
    "c": 0.18976,
    "h": 283.2
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#847AFE
secondary
#F4F7D4
accent
#E600D4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #847AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#847AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva