#7985F7#7985F7

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

Color values

HEX#7985F7
RGBrgb(121, 133, 247)
HSLhsl(234, 89%, 72%)
HSVhsv(234, 51%, 97%)
CMYKcmyk(51%, 46.2%, 0%, 3.1%)
CIE-LABlab(59.48, 26.26, -58.63)
CIE-LCHlch(59.48, 64.24, 294.13°)
OKLaboklab(66.08% 0.0183 -0.1668)
OKLCHoklch(66.08% 0.168 276.3)
XYZxyz(33.0559, 27.5534, 91.5541)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985F7 #F7EB79
analogous
#79C4F7 #7985F7 #AC79F7
triadic
#7985F7 #F77985 #85F779
tetradic
#7985F7 #F779C4 #F7EB79 #79F7AC
square
#7985F7 #F779C4 #F7EB79 #79F7AC
split-complementary
#7985F7 #F7AC79 #C4F779
monochromatic
#0E23E8 #3F50F4 #7985F7 #B3BAFA #E2E5FD

Accessibility & contrast

On white

3.23
#7985F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7985F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985F7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985F7#FFFFFF#000000##000000
##7985F71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#439EB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7985f7;
/* rgb */ color: rgb(121, 133, 247);
/* oklch */ color: oklch(66.1% 0.168 276.3);
Tailwind
colors: {
  custom: {
    50: '#a7a8fa',
    500: '#7985f7',
    950: '#000000',
  },
}
SCSS
$custom: #7985f7;
$custom-light: #a7a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7985f7",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 234.286,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66076,
    "c": 0.16781,
    "h": 276.3
  },
  "luminance": 0.27555
}

Semantic roles & 50–950 ramp

primary
#7985F7
secondary
#F5F2D6
accent
#D000E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985F7

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

Preview Lab → · Contrast checker → · Palette generator →

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