#7F8DFD#7F8DFD

#7F8DFD is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.4% C 0.164 H 275.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7F8DFD
RGBrgb(127, 141, 253)
HSLhsl(233, 97%, 75%)
HSVhsv(233, 50%, 99%)
CMYKcmyk(49.8%, 44.3%, 0%, 0.8%)
CIE-LABlab(62.21, 24.65, -57.55)
CIE-LCHlch(62.21, 62.60, 293.18°)
OKLaboklab(68.36% 0.0166 -0.1634)
OKLCHoklch(68.36% 0.164 275.8)
XYZxyz(36.0013, 30.6514, 96.9287)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8DFD #FDEF7F
analogous
#7FCCFD #7F8DFD #B07FFD
triadic
#7F8DFD #FD7F8D #8DFD7F
tetradic
#7F8DFD #FD7FCC #FDEF7F #7FFDB0
square
#7F8DFD #FD7FCC #FDEF7F #7FFDB0
split-complementary
#7F8DFD #FDB07F #CCFD7F
monochromatic
#0622FB #4357FC #7F8DFD #BBC3FE #E1E4FF

Accessibility & contrast

On white

2.94
#7F8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7F8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F8DFD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8DFD#FFFFFF#000000##000000
##7F8DFD1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#4BA5B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7f8dfd;
/* rgb */ color: rgb(127, 141, 253);
/* oklch */ color: oklch(68.4% 0.164 275.8);
Tailwind
colors: {
  custom: {
    50: '#abaefe',
    500: '#7f8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7f8dfd;
$custom-light: #abaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8dfd",
  "rgb": {
    "r": 127,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 233.333,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68359,
    "c": 0.16428,
    "h": 275.8
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#7F8DFD
secondary
#F7F3D4
accent
#CC00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7F8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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