#7F7BF4#7F7BF4

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

Color values

HEX#7F7BF4
RGBrgb(127, 123, 244)
HSLhsl(242, 85%, 72%)
HSVhsv(242, 50%, 96%)
CMYKcmyk(48%, 49.6%, 0%, 4.3%)
CIE-LABlab(57.28, 32.56, -60.48)
CIE-LCHlch(57.28, 68.69, 298.30°)
OKLaboklab(64.46% 0.0358 -0.1722)
OKLCHoklch(64.46% 0.176 281.8)
XYZxyz(32.1596, 25.2079, 88.7415)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BF4 #F0F47B
analogous
#7BB4F4 #7F7BF4 #BB7BF4
triadic
#7F7BF4 #F47F7B #7BF47F
tetradic
#7F7BF4 #F47BB4 #F0F47B #7BF4BB
square
#7F7BF4 #F47BB4 #F0F47B #7BF4BB
split-complementary
#7F7BF4 #F4BB7B #B4F47B
monochromatic
#1A13E2 #4843EF #7F7BF4 #B6B3F9 #E4E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7BF4#FFFFFF#000000##000000
##7F7BF41.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)
#438EF8
Deuteranopia (green-blind)
#3A85F1
Tritanopia (blue-blind)
#5495AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f7bf4;
/* rgb */ color: rgb(127, 123, 244);
/* oklch */ color: oklch(64.5% 0.176 281.8);
Tailwind
colors: {
  custom: {
    50: '#aba1f8',
    500: '#7f7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bf4;
$custom-light: #aba1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bf4",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 241.983,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64462,
    "c": 0.17586,
    "h": 281.8
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#7F7BF4
secondary
#F4F5D6
accent
#E104DA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7F7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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