#7F7BF9#7F7BF9

#7F7BF9 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.183 H 281.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7F7BF9
RGBrgb(127, 123, 249)
HSLhsl(242, 91%, 73%)
HSVhsv(242, 51%, 98%)
CMYKcmyk(49%, 50.6%, 0%, 2.4%)
CIE-LABlab(57.57, 34.04, -62.77)
CIE-LCHlch(57.57, 71.40, 298.47°)
OKLaboklab(64.78% 0.0362 -0.1789)
OKLCHoklch(64.78% 0.183 281.4)
XYZxyz(32.9290, 25.5157, 92.7941)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7BF9 #F5F97B
analogous
#7BB6F9 #7F7BF9 #BE7BF9
triadic
#7F7BF9 #F97F7B #7BF97F
tetradic
#7F7BF9 #F97BB6 #F5F97B #7BF9BE
square
#7F7BF9 #F97BB6 #F5F97B #7BF9BE
split-complementary
#7F7BF9 #F9BE7B #B6F97B
monochromatic
#120BEF #4640F6 #7F7BF9 #B8B6FC #E3E2FE

Accessibility & contrast

On white

3.44
#7F7BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7F7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7BF9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7BF9#FFFFFF#000000##000000
##7F7BF91.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFD
Deuteranopia (green-blind)
#3286F6
Tritanopia (blue-blind)
#5197AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f7bf9;
/* rgb */ color: rgb(127, 123, 249);
/* oklch */ color: oklch(64.8% 0.183 281.4);
Tailwind
colors: {
  custom: {
    50: '#aba1fc',
    500: '#7f7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #7f7bf9;
$custom-light: #aba1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7bf9",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 241.905,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64781,
    "c": 0.18253,
    "h": 281.4
  },
  "luminance": 0.25517
}

Semantic roles & 50–950 ramp

primary
#7F7BF9
secondary
#F5F6D5
accent
#E600DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7F7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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