#7985F8#7985F8

#7985F8 is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.1% C 0.169 H 276.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7985F8
RGBrgb(121, 133, 248)
HSLhsl(234, 90%, 72%)
HSVhsv(234, 51%, 97%)
CMYKcmyk(51.2%, 46.4%, 0%, 2.7%)
CIE-LABlab(59.54, 26.57, -59.09)
CIE-LCHlch(59.54, 64.79, 294.21°)
OKLaboklab(66.14% 0.0184 -0.1682)
OKLCHoklch(66.14% 0.169 276.3)
XYZxyz(33.2106, 27.6152, 92.3690)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985F8 #F8EC79
analogous
#79C4F8 #7985F8 #AD79F8
triadic
#7985F8 #F87985 #85F879
tetradic
#7985F8 #F879C4 #F8EC79 #79F8AD
square
#7985F8 #F879C4 #F8EC79 #79F8AD
split-complementary
#7985F8 #F8AD79 #C4F879
monochromatic
#0C21EA #3F50F5 #7985F8 #B3BAFB #E2E5FD

Accessibility & contrast

On white

3.22
#7985F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7985F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985F8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985F8#FFFFFF#000000##000000
##7985F81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#448AF5
Tritanopia (blue-blind)
#429EB3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7985f8;
/* rgb */ color: rgb(121, 133, 248);
/* oklch */ color: oklch(66.1% 0.169 276.3);
Tailwind
colors: {
  custom: {
    50: '#a7a8fb',
    500: '#7985f8',
    950: '#000000',
  },
}
SCSS
$custom: #7985f8;
$custom-light: #a7a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7985f8",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 234.331,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66137,
    "c": 0.16918,
    "h": 276.3
  },
  "luminance": 0.27617
}

Semantic roles & 50–950 ramp

primary
#7985F8
secondary
#F6F3D5
accent
#D000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985F8

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

Preview Lab → · Contrast checker → · Palette generator →

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