#7D8FFB#7D8FFB

#7D8FFB is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.5% C 0.159 H 274.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7D8FFB
RGBrgb(125, 143, 251)
HSLhsl(231, 94%, 74%)
HSVhsv(231, 50%, 98%)
CMYKcmyk(50.2%, 43%, 0%, 1.6%)
CIE-LABlab(62.48, 22.43, -56.03)
CIE-LCHlch(62.48, 60.36, 291.82°)
OKLaboklab(68.49% 0.0119 -0.159)
OKLCHoklch(68.49% 0.159 274.3)
XYZxyz(35.6870, 30.9677, 95.3450)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8FFB #FBE97D
analogous
#7DCEFB #7D8FFB #AA7DFB
triadic
#7D8FFB #FB7D8F #8FFB7D
tetradic
#7D8FFB #FB7DCE #FBE97D #7DFBAA
square
#7D8FFB #FB7DCE #FBE97D #7DFBAA
split-complementary
#7D8FFB #FBAA7D #CEFB7D
monochromatic
#082AF6 #425CF9 #7D8FFB #B8C2FD #E1E5FE

Accessibility & contrast

On white

2.92
#7D8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7D8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D8FFB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8FFB#FFFFFF#000000##000000
##7D8FFB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#48A6B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7d8ffb;
/* rgb */ color: rgb(125, 143, 251);
/* oklch */ color: oklch(68.5% 0.159 274.3);
Tailwind
colors: {
  custom: {
    50: '#aaaffd',
    500: '#7d8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #7d8ffb;
$custom-light: #aaaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8ffb",
  "rgb": {
    "r": 125,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 231.429,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68495,
    "c": 0.15948,
    "h": 274.3
  },
  "luminance": 0.3097
}

Semantic roles & 50–950 ramp

primary
#7D8FFB
secondary
#F6F1D5
accent
#C500E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7D8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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