#7F7DFD#7F7DFD

#7F7DFD is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.185 H 280.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7F7DFD
RGBrgb(127, 125, 253)
HSLhsl(241, 97%, 74%)
HSVhsv(241, 51%, 99%)
CMYKcmyk(49.8%, 50.6%, 0%, 0.8%)
CIE-LABlab(58.29, 34.05, -63.82)
CIE-LCHlch(58.29, 72.34, 298.08°)
OKLaboklab(65.4% 0.0343 -0.182)
OKLCHoklch(65.4% 0.185 280.7)
XYZxyz(33.8102, 26.2692, 96.1984)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7DFD #FBFD7D
analogous
#7DBBFD #7F7DFD #BF7DFD
triadic
#7F7DFD #FD7F7D #7DFD7F
tetradic
#7F7DFD #FD7DBB #FBFD7D #7DFDBF
square
#7F7DFD #FD7DBB #FBFD7D #7DFDBF
split-complementary
#7F7DFD #FDBF7D #BBFD7D
monochromatic
#0804FB #4441FC #7F7DFD #BAB9FE #E1E1FF

Accessibility & contrast

On white

3.36
#7F7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#7F7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7DFD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7DFD#FFFFFF#000000##000000
##7F7DFD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3187FA
Tritanopia (blue-blind)
#4D99B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f7dfd;
/* rgb */ color: rgb(127, 125, 253);
/* oklch */ color: oklch(65.4% 0.185 280.7);
Tailwind
colors: {
  custom: {
    50: '#aca2ff',
    500: '#7f7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7f7dfd;
$custom-light: #aca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7dfd",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 240.938,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65396,
    "c": 0.18519,
    "h": 280.7
  },
  "luminance": 0.26271
}

Semantic roles & 50–950 ramp

primary
#7F7DFD
secondary
#F6F7D4
accent
#E600E2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7F7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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