#8370F3#8370F3

#8370F3 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.8% C 0.189 H 286.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8370F3
RGBrgb(131, 112, 243)
HSLhsl(249, 85%, 70%)
HSVhsv(249, 54%, 95%)
CMYKcmyk(46.1%, 53.9%, 0%, 4.7%)
CIE-LABlab(54.95, 39.55, -63.64)
CIE-LCHlch(54.95, 74.93, 301.86°)
OKLaboklab(62.78% 0.0529 -0.1814)
OKLCHoklch(62.78% 0.189 286.2)
XYZxyz(31.3272, 22.8833, 87.5429)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8370F3 #E0F370
analogous
#709FF3 #8370F3 #C470F3
triadic
#8370F3 #F38370 #70F383
tetradic
#8370F3 #F3709F #E0F370 #70F3C4
square
#8370F3 #F3709F #E0F370 #70F3C4
split-complementary
#8370F3 #F3C470 #9FF370
monochromatic
#2F12D7 #5238EE #8370F3 #B4A8F8 #E5E1FC

Accessibility & contrast

On white

3.77
#8370F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8370F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8370F3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8370F3#FFFFFF#000000##000000
##8370F31.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2887F7
Deuteranopia (green-blind)
#2580F0
Tritanopia (blue-blind)
#5E8DA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8370f3;
/* rgb */ color: rgb(131, 112, 243);
/* oklch */ color: oklch(62.8% 0.189 286.2);
Tailwind
colors: {
  custom: {
    50: '#ae99f8',
    500: '#8370f3',
    950: '#000000',
  },
}
SCSS
$custom: #8370f3;
$custom-light: #ae99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8370f3",
  "rgb": {
    "r": 131,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 248.702,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62783,
    "c": 0.18896,
    "h": 286.2
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#8370F3
secondary
#EDF2CD
accent
#E105C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8370F3

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

Preview Lab → · Contrast checker → · Palette generator →

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