#7F8FFA#7F8FFA

#7F8FFA is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.6% C 0.158 H 275.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7F8FFA
RGBrgb(127, 143, 250)
HSLhsl(232, 92%, 74%)
HSVhsv(232, 49%, 98%)
CMYKcmyk(49.2%, 42.8%, 0%, 2%)
CIE-LABlab(62.56, 22.57, -55.35)
CIE-LCHlch(62.56, 59.78, 292.19°)
OKLaboklab(68.57% 0.0139 -0.157)
OKLCHoklch(68.57% 0.158 275)
XYZxyz(35.8247, 31.0569, 94.5308)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8FFA #FAEA7F
analogous
#7FCDFA #7F8FFA #AD7FFA
triadic
#7F8FFA #FA7F8F #8FFA7F
tetradic
#7F8FFA #FA7FCD #FAEA7F #7FFAAD
square
#7F8FFA #FA7FCD #FAEA7F #7FFAAD
split-complementary
#7F8FFA #FAAD7F #CDFA7F
monochromatic
#0A28F5 #445BF8 #7F8FFA #BAC3FC #E2E5FE

Accessibility & contrast

On white

2.91
#7F8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7F8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F8FFA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8FFA#FFFFFF#000000##000000
##7F8FFA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#4DA6B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7f8ffa;
/* rgb */ color: rgb(127, 143, 250);
/* oklch */ color: oklch(68.6% 0.158 275.0);
Tailwind
colors: {
  custom: {
    50: '#abaffc',
    500: '#7f8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7f8ffa;
$custom-light: #abaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8ffa",
  "rgb": {
    "r": 127,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 232.195,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68569,
    "c": 0.15761,
    "h": 275
  },
  "luminance": 0.31059
}

Semantic roles & 50–950 ramp

primary
#7F8FFA
secondary
#F6F2D5
accent
#C800E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7F8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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