#7F82EA#7F82EA

#7F82EA is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.2% C 0.153 H 280.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7F82EA
RGBrgb(127, 130, 234)
HSLhsl(238, 72%, 71%)
HSVhsv(238, 46%, 92%)
CMYKcmyk(45.7%, 44.4%, 0%, 8.2%)
CIE-LABlab(58.43, 25.49, -53.09)
CIE-LCHlch(58.43, 58.89, 295.65°)
OKLaboklab(65.15% 0.0266 -0.1504)
OKLCHoklch(65.15% 0.153 280)
XYZxyz(31.5818, 26.4162, 81.2607)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F82EA #EAE77F
analogous
#7FB7EA #7F82EA #B17FEA
triadic
#7F82EA #EA7F82 #82EA7F
tetradic
#7F82EA #EA7FB7 #EAE77F #7FEAB1
square
#7F82EA #EA7FB7 #EAE77F #7FEAB1
split-complementary
#7F82EA #EAB17F #B7EA7F
monochromatic
#2226CD #4A4FE1 #7F82EA #B4B5F3 #E5E5FB

Accessibility & contrast

On white

3.34
#7F82EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7F82EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F82EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F82EA#FFFFFF#000000##000000
##7F82EA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EE
Deuteranopia (green-blind)
#5189E8
Tritanopia (blue-blind)
#5A98AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f82ea;
/* rgb */ color: rgb(127, 130, 234);
/* oklch */ color: oklch(65.2% 0.153 280.0);
Tailwind
colors: {
  custom: {
    50: '#a9a6f1',
    500: '#7f82ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f82ea;
$custom-light: #a9a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f82ea",
  "rgb": {
    "r": 127,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 238.318,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.15277,
    "h": 280
  },
  "luminance": 0.26418
}

Semantic roles & 50–950 ramp

primary
#7F82EA
secondary
#F1F0D4
accent
#CE12D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7F82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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