#7F82E1#7F82E1

#7F82E1 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.6% C 0.140 H 280.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7F82E1
RGBrgb(127, 130, 225)
HSLhsl(238, 62%, 69%)
HSVhsv(238, 44%, 88%)
CMYKcmyk(43.6%, 42.2%, 0%, 11.8%)
CIE-LABlab(57.95, 22.88, -48.83)
CIE-LCHlch(57.95, 53.92, 295.11°)
OKLaboklab(64.63% 0.0252 -0.138)
OKLCHoklch(64.63% 0.14 280.3)
XYZxyz(30.3216, 25.9121, 74.6234)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F82E1 #E1DE7F
analogous
#7FB3E1 #7F82E1 #AD7FE1
triadic
#7F82E1 #E17F82 #82E17F
tetradic
#7F82E1 #E17FB3 #E1DE7F #7FE1AD
square
#7F82E1 #E17FB3 #E1DE7F #7FE1AD
split-complementary
#7F82E1 #E1AD7F #B3E17F
monochromatic
#2C30BA #4D52D5 #7F82E1 #B1B2ED #E2E3F8

Accessibility & contrast

On white

3.40
#7F82E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7F82E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F82E1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F82E1#FFFFFF#000000##000000
##7F82E11.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#5888DF
Tritanopia (blue-blind)
#5F95A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f82e1;
/* rgb */ color: rgb(127, 130, 225);
/* oklch */ color: oklch(64.6% 0.140 280.3);
Tailwind
colors: {
  custom: {
    50: '#a9a6eb',
    500: '#7f82e1',
    950: '#000000',
  },
}
SCSS
$custom: #7f82e1;
$custom-light: #a9a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f82e1",
  "rgb": {
    "r": 127,
    "g": 130,
    "b": 225
  },
  "hsl": {
    "h": 238.163,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.14026,
    "h": 280.3
  },
  "luminance": 0.25914
}

Semantic roles & 50–950 ramp

primary
#7F82E1
secondary
#ECEBD0
accent
#C41CCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7F82E1

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

Preview Lab → · Contrast checker → · Palette generator →

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