#8370F8#8370F8

#8370F8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.1% C 0.195 H 285.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8370F8
RGBrgb(131, 112, 248)
HSLhsl(248, 91%, 71%)
HSVhsv(248, 55%, 97%)
CMYKcmyk(47.2%, 54.8%, 0%, 2.7%)
CIE-LABlab(55.27, 40.98, -65.91)
CIE-LCHlch(55.27, 77.61, 301.87°)
OKLaboklab(63.12% 0.053 -0.1881)
OKLCHoklch(63.12% 0.195 285.7)
XYZxyz(32.0925, 23.1895, 91.5738)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370F8 #E5F870
analogous
#70A1F8 #8370F8 #C770F8
triadic
#8370F8 #F88370 #70F883
tetradic
#8370F8 #F870A1 #E5F870 #70F8C7
square
#8370F8 #F870A1 #E5F870 #70F8C7
split-complementary
#8370F8 #F8C770 #A1F870
monochromatic
#290BE3 #5036F5 #8370F8 #B6AAFB #E6E2FE

Accessibility & contrast

On white

3.72
#8370F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8370F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370F8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370F8#FFFFFF#000000##000000
##8370F81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FD
Deuteranopia (green-blind)
#1780F5
Tritanopia (blue-blind)
#5B8EA9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8370f8;
/* rgb */ color: rgb(131, 112, 248);
/* oklch */ color: oklch(63.1% 0.195 285.7);
Tailwind
colors: {
  custom: {
    50: '#ae99fb',
    500: '#8370f8',
    950: '#000000',
  },
}
SCSS
$custom: #8370f8;
$custom-light: #ae99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8370f8",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 248.382,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63118,
    "c": 0.19541,
    "h": 285.7
  },
  "luminance": 0.23191
}

Semantic roles & 50–950 ramp

primary
#8370F8
secondary
#EFF4CF
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8370F8

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

Preview Lab → · Contrast checker → · Palette generator →

#8370F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva