#7F7DEB#7F7DEB

#7F7DEB is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.3% C 0.161 H 281.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7F7DEB
RGBrgb(127, 125, 235)
HSLhsl(241, 73%, 71%)
HSVhsv(241, 47%, 92%)
CMYKcmyk(46%, 46.8%, 0%, 7.8%)
CIE-LABlab(57.25, 28.74, -55.53)
CIE-LCHlch(57.25, 62.53, 297.37°)
OKLaboklab(64.27% 0.0326 -0.1576)
OKLCHoklch(64.27% 0.161 281.7)
XYZxyz(31.0769, 25.1759, 81.8031)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7DEB #E9EB7D
analogous
#7DB2EB #7F7DEB #B67DEB
triadic
#7F7DEB #EB7F7D #7DEB7F
tetradic
#7F7DEB #EB7DB2 #E9EB7D #7DEBB6
square
#7F7DEB #EB7DB2 #E9EB7D #7DEBB6
split-complementary
#7F7DEB #EBB67D #B2EB7D
monochromatic
#2320CE #4B48E3 #7F7DEB #B3B2F3 #E5E4FB

Accessibility & contrast

On white

3.48
#7F7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7F7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7DEB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7DEB#FFFFFF#000000##000000
##7F7DEB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#5A94A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f7deb;
/* rgb */ color: rgb(127, 125, 235);
/* oklch */ color: oklch(64.3% 0.161 281.7);
Tailwind
colors: {
  custom: {
    50: '#aaa2f2',
    500: '#7f7deb',
    950: '#000000',
  },
}
SCSS
$custom: #7f7deb;
$custom-light: #aaa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7deb",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 241.091,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64272,
    "c": 0.16097,
    "h": 281.7
  },
  "luminance": 0.25177
}

Semantic roles & 50–950 ramp

primary
#7F7DEB
secondary
#F0F1D3
accent
#D510D2
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7F7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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