#7F82F0#7F82F0

#7F82F0 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.5% C 0.161 H 279.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7F82F0
RGBrgb(127, 130, 240)
HSLhsl(238, 79%, 72%)
HSVhsv(238, 47%, 94%)
CMYKcmyk(47.1%, 45.8%, 0%, 5.9%)
CIE-LABlab(58.76, 27.26, -55.89)
CIE-LCHlch(58.76, 62.18, 296.00°)
OKLaboklab(65.51% 0.0274 -0.1587)
OKLCHoklch(65.51% 0.161 279.8)
XYZxyz(32.4584, 26.7669, 85.8774)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F82F0 #F0ED7F
analogous
#7FBBF0 #7F82F0 #B57FF0
triadic
#7F82F0 #F07F82 #82F07F
tetradic
#7F82F0 #F07FBB #F0ED7F #7FF0B5
square
#7F82F0 #F07FBB #F0ED7F #7FF0B5
split-complementary
#7F82F0 #F0B57F #BBF07F
monochromatic
#1A1FDB #484DEA #7F82F0 #B6B7F6 #E4E4FC

Accessibility & contrast

On white

3.31
#7F82F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7F82F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F82F0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F82F0#FFFFFF#000000##000000
##7F82F01.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F4
Deuteranopia (green-blind)
#4C89EE
Tritanopia (blue-blind)
#5699AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f82f0;
/* rgb */ color: rgb(127, 130, 240);
/* oklch */ color: oklch(65.5% 0.161 279.8);
Tailwind
colors: {
  custom: {
    50: '#aaa6f5',
    500: '#7f82f0',
    950: '#000000',
  },
}
SCSS
$custom: #7f82f0;
$custom-light: #aaa6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f82f0",
  "rgb": {
    "r": 127,
    "g": 130,
    "b": 240
  },
  "hsl": {
    "h": 238.407,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65505,
    "c": 0.16102,
    "h": 279.8
  },
  "luminance": 0.26769
}

Semantic roles & 50–950 ramp

primary
#7F82F0
secondary
#F4F3D7
accent
#D60ADB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7F82F0

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

Preview Lab → · Contrast checker → · Palette generator →

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