#7985F5#7985F5

#7985F5 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.0% C 0.165 H 276.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7985F5
RGBrgb(121, 133, 245)
HSLhsl(234, 86%, 72%)
HSVhsv(234, 51%, 96%)
CMYKcmyk(50.6%, 45.7%, 0%, 3.9%)
CIE-LABlab(59.37, 25.65, -57.70)
CIE-LCHlch(59.37, 63.15, 293.97°)
OKLaboklab(65.96% 0.0181 -0.1641)
OKLCHoklch(65.96% 0.165 276.3)
XYZxyz(32.7489, 27.4306, 89.9375)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7985F5 #F5E979
analogous
#79C3F5 #7985F5 #AB79F5
triadic
#7985F5 #F57985 #85F579
tetradic
#7985F5 #F579C3 #F5E979 #79F5AB
square
#7985F5 #F579C3 #F5E979 #79F5AB
split-complementary
#7985F5 #F5AB79 #C3F579
monochromatic
#1125E3 #4051F1 #7985F5 #B2B9F9 #E3E5FD

Accessibility & contrast

On white

3.24
#7985F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#7985F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7985F5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7985F5#FFFFFF#000000##000000
##7985F51.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#488AF3
Tritanopia (blue-blind)
#459DB1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7985f5;
/* rgb */ color: rgb(121, 133, 245);
/* oklch */ color: oklch(66.0% 0.165 276.3);
Tailwind
colors: {
  custom: {
    50: '#a7a8f9',
    500: '#7985f5',
    950: '#000000',
  },
}
SCSS
$custom: #7985f5;
$custom-light: #a7a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7985f5",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 234.194,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65955,
    "c": 0.16509,
    "h": 276.3
  },
  "luminance": 0.27433
}

Semantic roles & 50–950 ramp

primary
#7985F5
secondary
#F5F2D5
accent
#CD03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7985F5

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

Preview Lab → · Contrast checker → · Palette generator →

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