#7F9AED#7F9AED

#7F9AED is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.0% C 0.126 H 269.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7F9AED
RGBrgb(127, 154, 237)
HSLhsl(225, 75%, 71%)
HSVhsv(225, 46%, 93%)
CMYKcmyk(46.4%, 35%, 0%, 7.1%)
CIE-LABlab(64.75, 12.31, -44.74)
CIE-LCHlch(64.75, 46.40, 285.39°)
OKLaboklab(70.05% -0.0015 -0.1259)
OKLCHoklch(70.05% 0.126 269.3)
XYZxyz(35.5892, 33.7355, 84.7406)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9AED #EDD27F
analogous
#7FD1ED #7F9AED #9B7FED
triadic
#7F9AED #ED7F9A #9AED7F
tetradic
#7F9AED #ED7FD1 #EDD27F #7FED9B
square
#7F9AED #ED7FD1 #EDD27F #7FED9B
split-complementary
#7F9AED #ED9B7F #D1ED7F
monochromatic
#1E4AD4 #4970E5 #7F9AED #B5C4F5 #E4EAFB

Accessibility & contrast

On white

2.71
#7F9AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7F9AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9AED
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9AED#FFFFFF#000000##000000
##7F9AED1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#7099EB
Tritanopia (blue-blind)
#55ABB8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7f9aed;
/* rgb */ color: rgb(127, 154, 237);
/* oklch */ color: oklch(70.0% 0.126 269.3);
Tailwind
colors: {
  custom: {
    50: '#a9b7f3',
    500: '#7f9aed',
    950: '#000000',
  },
}
SCSS
$custom: #7f9aed;
$custom-light: #a9b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9aed",
  "rgb": {
    "r": 127,
    "g": 154,
    "b": 237
  },
  "hsl": {
    "h": 225.273,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70045,
    "c": 0.12595,
    "h": 269.3
  },
  "luminance": 0.33738
}

Semantic roles & 50–950 ramp

primary
#7F9AED
secondary
#F2EBD6
accent
#A60ED8
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F9AED

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

Preview Lab → · Contrast checker → · Palette generator →

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