#8198FA#8198FA

#8198FA is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.5% C 0.146 H 272.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8198FA
RGBrgb(129, 152, 250)
HSLhsl(229, 92%, 74%)
HSVhsv(229, 48%, 98%)
CMYKcmyk(48.4%, 39.2%, 0%, 2%)
CIE-LABlab(64.98, 17.77, -51.50)
CIE-LCHlch(64.98, 54.48, 289.03°)
OKLaboklab(70.46% 0.0056 -0.1456)
OKLCHoklch(70.46% 0.146 272.2)
XYZxyz(37.5313, 34.0234, 95.0135)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8198FA #FAE381
analogous
#81D5FA #8198FA #A781FA
triadic
#8198FA #FA8198 #98FA81
tetradic
#8198FA #FA81D5 #FAE381 #81FAA7
square
#8198FA #FA81D5 #FAE381 #81FAA7
split-complementary
#8198FA #FAA781 #D5FA81
monochromatic
#0B38F5 #4668F8 #8198FA #BCC8FC #E2E7FE

Accessibility & contrast

On white

2.69
#8198FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#8198FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8198FA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8198FA#FFFFFF#000000##000000
##8198FA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#50ADBD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8198fa;
/* rgb */ color: rgb(129, 152, 250);
/* oklch */ color: oklch(70.5% 0.146 272.2);
Tailwind
colors: {
  custom: {
    50: '#acb6fc',
    500: '#8198fa',
    950: '#000000',
  },
}
SCSS
$custom: #8198fa;
$custom-light: #acb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8198fa",
  "rgb": {
    "r": 129,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 228.595,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70459,
    "c": 0.14572,
    "h": 272.2
  },
  "luminance": 0.34026
}

Semantic roles & 50–950 ramp

primary
#8198FA
secondary
#F6F0D5
accent
#BA00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8198FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8198FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva