#7F8DF5#7F8DF5

#7F8DF5 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.153 H 275.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7F8DF5
RGBrgb(127, 141, 245)
HSLhsl(233, 86%, 73%)
HSVhsv(233, 48%, 96%)
CMYKcmyk(48.2%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.79, 22.26, -53.83)
CIE-LCHlch(61.79, 58.25, 292.46°)
OKLaboklab(67.9% 0.0154 -0.1526)
OKLCHoklch(67.9% 0.153 275.7)
XYZxyz(34.7536, 30.1523, 90.3572)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8DF5 #F5E77F
analogous
#7FC8F5 #7F8DF5 #AC7FF5
triadic
#7F8DF5 #F57F8D #8DF57F
tetradic
#7F8DF5 #F57FC8 #F5E77F #7FF5AC
square
#7F8DF5 #F57FC8 #F5E77F #7FF5AC
split-complementary
#7F8DF5 #F5AC7F #C8F57F
monochromatic
#122BE8 #465AF1 #7F8DF5 #B8C0F9 #E3E6FD

Accessibility & contrast

On white

2.99
#7F8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7F8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F8DF5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8DF5#FFFFFF#000000##000000
##7F8DF51.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#51A3B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7f8df5;
/* rgb */ color: rgb(127, 141, 245);
/* oklch */ color: oklch(67.9% 0.153 275.7);
Tailwind
colors: {
  custom: {
    50: '#aaaef9',
    500: '#7f8df5',
    950: '#000000',
  },
}
SCSS
$custom: #7f8df5;
$custom-light: #aaaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8df5",
  "rgb": {
    "r": 127,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 232.881,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67895,
    "c": 0.15333,
    "h": 275.7
  },
  "luminance": 0.30154
}

Semantic roles & 50–950 ramp

primary
#7F8DF5
secondary
#F5F1D6
accent
#C803E2
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

#7F8DF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva