#7F7FE2#7F7FE2

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

Color values

HEX#7F7FE2
RGBrgb(127, 127, 226)
HSLhsl(240, 63%, 69%)
HSVhsv(240, 44%, 89%)
CMYKcmyk(43.8%, 43.8%, 0%, 11.4%)
CIE-LABlab(57.25, 24.94, -50.50)
CIE-LCHlch(57.25, 56.33, 296.28°)
OKLaboklab(64.12% 0.029 -0.1429)
OKLCHoklch(64.12% 0.146 281.5)
XYZxyz(30.0652, 25.1804, 75.2129)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7FE2 #E2E27F
analogous
#7FB1E2 #7F7FE2 #B17FE2
triadic
#7F7FE2 #E27F7F #7FE27F
tetradic
#7F7FE2 #E27FB1 #E2E27F #7FE2B1
square
#7F7FE2 #E27FB1 #E2E27F #7FE2B1
split-complementary
#7F7FE2 #E2B17F #B1E27F
monochromatic
#2B2BBC #4D4DD7 #7F7FE2 #B1B1ED #E3E3F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7FE2#FFFFFF#000000##000000
##7F7FE21.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)
#598DE6
Deuteranopia (green-blind)
#5386E0
Tritanopia (blue-blind)
#5F93A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f7fe2;
/* rgb */ color: rgb(127, 127, 226);
/* oklch */ color: oklch(64.1% 0.146 281.5);
Tailwind
colors: {
  custom: {
    50: '#a9a4eb',
    500: '#7f7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #7f7fe2;
$custom-light: #a9a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7fe2",
  "rgb": {
    "r": 127,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64116,
    "c": 0.14581,
    "h": 281.5
  },
  "luminance": 0.25182
}

Semantic roles & 50–950 ramp

primary
#7F7FE2
secondary
#EDEDD0
accent
#CB1BCB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7F7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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